Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- on_rez(integer start_param)
- {
- // Restarts the script every time the object is rezzed
- llResetScript();
- }
- changed(integer change)
- {
- if ((change & CHANGED_REGION) || (change & CHANGED_TELEPORT))
- // Resets the detected list every time the object is teleported
- {
- llOwnerSay("Teleport Detected - Detected list Reset");
- Detected_UUIDs = [];
- state three;
- }
- }
- state_entry()
- {
- llSetObjectDesc("");
- // llOwnerSay("Count: " + (string)GetKeyCount());
- state one;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement