LlGetScriptName - Second Life Wiki

LlGetScriptName

From Second Life Wiki

Jump to: navigation, search

Contents

Description

Function: string llGetScriptName( );
167 Function ID
0.0 Delay
10.0 Energy

Returns a string that is the script name.


Examples

Remove the current script from the object

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