Chuckles-W

CHANGED_TELEPORT

Nov 2nd, 2019
631
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default
  2. {
  3.  
  4.     on_rez(integer start_param)
  5.     {
  6.         // Restarts the script every time the object is rezzed
  7.         llResetScript();
  8.     }
  9.  
  10.     changed(integer change)
  11.     {
  12.  
  13. if ((change & CHANGED_REGION) || (change & CHANGED_TELEPORT))
  14.         // Resets the detected list every time the object is teleported
  15.         {
  16.             llOwnerSay("Teleport Detected - Detected list Reset");
  17.             Detected_UUIDs = [];        
  18.             state three;
  19.         }
  20.     }
  21.  
  22.     state_entry()
  23.     {
  24.         llSetObjectDesc("");
  25. //        llOwnerSay("Count: " + (string)GetKeyCount());
  26.         state one;
  27.  
  28.     }
  29.  
  30. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×