Syntax

string llGetScriptName();

Forced delay: 0.0 seconds. Energy: 10.0.

Return value

Returns a string that is the name of the script that called this function.

Examples

Remove the current script from the object

default
{
    state_entry()
    {
        llRemoveInventory(llGetScriptName());
    }
}

Deep notes

Issues