Advertisement
Dorex

Untitled

Nov 24th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1.  
  2. integer listener;
  3. integer channelNum;
  4. default
  5. {
  6. state_entry()
  7. {
  8. channelNum = 4983945;
  9. llListen(channelNum, "", "", "");
  10. }
  11.  
  12. touch_start(integer total_number)
  13. {
  14. llDialog(llGetOwner(), "Test", ["Color", "Text"], channelNum);
  15. }
  16.  
  17. listen(integer channel, string name, key id, string message)
  18. {
  19. if (channel == channelNum){
  20. if (message == "Color"){
  21. llDialog(llGetOwner(), "Test", ["New Dialog", "New Text"], channelNum);
  22.  
  23. } else {
  24. llOwnerSay("Message: " + message);
  25. }
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement