Advertisement
Gayngel

Untitled

May 22nd, 2016
471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. key Owner;
  2. integer listen_handle;
  3. integer lchan;
  4.  
  5. default
  6. {
  7. on_rez(integer start_param)
  8. {
  9. llResetScript();
  10. }
  11. state_entry()
  12. {
  13. lchan = -19735;
  14. Owner = llGetOwner();
  15. listen_handle = llListen(lchan,"","","");
  16. }
  17.  
  18. listen(integer channel, string name, key id, string message)
  19. {
  20. if(channel == lchan)
  21. {
  22.  
  23. if(llGetOwnerKey(id) == Owner )
  24. {
  25. if (message == "rainbow") llSetLinkTexture(LINK_SET, "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", ALL_SIDES);
  26.  
  27. else if (message == "rainbow_steal") llSetLinkTexture(LINK_SET, "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", ALL_SIDES);
  28. }
  29. }
  30.  
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement