LlGetScriptName
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: string llGetScriptName( );| 167 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns a string that is the name of the script that this function is used in.
Examples
Remove the current script from the object
default { state_entry() { llRemoveInventory(llGetScriptName()); } }
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

