llGetScriptName
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetScriptName( );167 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that is the name of the script that this function is used in.
Caveats
Examples
Remove the current script from the object <lsl> default {
state_entry() { llRemoveInventory(llGetScriptName()); }
}
</lsl>