User:Jana Kamachi/NoReturn

From Second Life Wiki
Jump to navigation Jump to search

If you like this script, or any script I've released, please post on my Talk page, or I'll most likely never see it o: If you want to improve a script, just go for it!


Note: I make no claims! This was created by Jcool410 Wildcat, and edited againt by myself and Molecular Chemistry. Simply drop the script into any object, thats it your done. I'm only releasing this because I have found someone selling a much worse version for 5k. 5k!!!


This first one is only for a single prim object. Look below for one for multiple prims!!!

default
{
    state_entry(){llRequestPermissions(llGetOwner(),PERMISSION_CHANGE_LINKS);}
    on_rez(integer param){ llResetScript(); }
    run_time_permissions(integer perm){ if(perm & PERMISSION_CHANGE_LINKS) llSetTimerEvent(30.);}
    timer(){
        key parent=llGetKey();
        llBreakLink(llGetLinkNumber());
        llSleep(5.);
        llCreateLink(parent,0);
    }
}

This one works on multiple-prim objects. But the script MUST be put into a child prim attached to the object, or it will error.

default
{
    state_entry()
    {
        llRequestPermissions(llGetOwner(),PERMISSION_CHANGE_LINKS);
    }
    on_rez(integer param)
    {
        llRequestPermissions(llGetOwner(),PERMISSION_CHANGE_LINKS);
    }
    run_time_permissions(integer perm)
    {
        if(perm & PERMISSION_CHANGE_LINKS)
        {
            llSetTimerEvent(30.);
        }
    }
    timer()
    {
        key parent=llGetLinkKey(0);
        llBreakLink(llGetLinkNumber());
        llSleep(5.);
        llCreateLink(parent,0);
    }
}