Resets script name.

Syntax

void llResetOtherScript( string name );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

string name
a script in the inventory of the prim this script is in

On script reset...

Caveats

Examples

// the other script must be within the same prim and has to be running

default
{
    touch_start(integer num_detected)
    {
        llResetTime();
    }

    touch_end(integer num_detected)
    {
        if (llGetTime() < 3.0)
            llSay(0, "Please click & hold for at least 3.0 seconds.");
        else
            llResetOtherScript("second");
    }
}

See also

Functions