No Auto-Return

From Second Life Wiki
Revision as of 09:01, 27 December 2008 by Bellla Clarity (talk | contribs) (New page: == What ''is'' No Auto-Return? == Isn't it annoying when you're at a sandbox and you haven't linked a build and you get frustrated because it gets returned and you can't work out where th...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What is No Auto-Return?

Isn't it annoying when you're at a sandbox and you haven't linked a build and you get frustrated because it gets returned and you can't work out where that bit goes again? Well, with this script it stops the objects from getting returned!

Note: Only use for long builds that will take a long time; NOTHING ELSE!!! Note 2: Only works in single prims.

Let's see the script then!

Okay, here we go :D.

<lsl>//Bella all the way! xD //

default {

   state_entry()
   {
       llRequestPermissions(llGetOwner(),PERMISSION_CHANGE_LINKS);
       llListen(10240,"",NULL_KEY,"");
   }
   on_rez(integer param)
   {
       llRequestPermissions(llGetOwner(),PERMISSION_CHANGE_LINKS);
   }
   run_time_permissions(integer perm)
   {
       if(perm)
       {
           llSetTimerEvent(30);
       }
   }
   timer()
   {
       key parent=llGetKey();
       llBreakLink(llGetLinkNumber());
       llSleep(5);
       llCreateLink(parent,0);
   }
   listen(integer channel, string name, key id, string message)
   {
       llDie();
   }

}</lsl>