Hi- I'm trying to make a HUD that allows me to pre-load lines of frequently used chat text; I've got a script that *works* but I have to enter everything directly into the script itself. Can someone PLEASE point me in the right direction on how I can grab these text lines from a more easily-edited notecard?
I have a rather complicated item that does this, but the script is locked and I can't even attempt to reverse-engineer it! However, if it's any help, the notecard is set up like so:
Hello|Hello!
How|How are you?
Bye|Goodbye!
The HUD give a selection button with the first text listed, and when pressed it enters the text after the vertical line into chat.
If anyone can shed some light on this, or provide a sample notecard-reading script sample I'd VERY much appreciate it! Thanks in advance for your time and consideration--
llSetColor(<1,0,0>,ALL_SIDES);