Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- state_entry()
- {
- llListen(800, "", llGetOwner(), ""); //Channel that the Dialog will listen to
- }
- touch_start(integer total_number)
- {
- llDialog(llGetOwner(), "Choose blade state", ["red","blue","orange","green","lime","light blue","purple","magenta","white"], 800); //Display the dialog.
- }
- listen(integer chan, string name, key id, string msg) //Retreives the button you pressed in the dialog
- {
- if(id==llGetOwner())
- {
- llSay(-11884,"msg");
- }
- }
- }
Add Comment
Please, Sign In to add comment