Difference between revisions of "No Auto-Return"

From Second Life Wiki
Jump to navigation Jump to search
(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...)
 
Line 2: Line 2:


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!
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!
[[Image:Bella_003.jpg|thumb|My cube has been here for 4 hours!]]


Note: Only use for long builds that will take a long time; NOTHING ELSE!!!
Note: Only use for long builds that will take a long time; NOTHING ELSE!!!

Revision as of 10:27, 27 December 2008

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!

My cube has been here for 4 hours!

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>