Hi- I'm trying to put together a notecard-driven HUD that will allow me to select a line of text to be published in chat. I can do this with a script I have, but if I could go to a notecard instead of having to alter teh script directly it would be a great help. I have another notecard-driven script that is set up for directing the user to either a URL or to recive an inventory item, but I can't seem to figure out how to get it to select and publish text!
A HUD I have has this function but the script is locked and I can't reverse-engineer it. The notecard it is driven by is set up like this, if it's any help in identifying the script mechanics behind it:
Hello|Hi!
Goodbye|Bye!
With the first work being the button name and the text after the vertical bar being what is said in chat. (Note that in this setup there is no "TYPE" identifier such as Hello|0|Hi!)
I get as far as the menu and that's it- as the buttons are set up as a TYPE (TYPE_INV = 0, or TYPE_URL = 1) it won't publish text to chat. I've gone through all the usual suspects for changing this, but so far I'm not skilled enough to figure out how to change the TYPE to somehting that will send the text to chat.
If anybody out there can please PLEASE help me out on this, I'd be most appreciative!