llGetScriptName

Summary

Function: string llGetScriptName( );
0.0 Forced Delay
10.0 Energy

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

Signature

function string llGetScriptName();