Difference between revisions of "LlGetScriptName"
Jump to navigation
Jump to search
m (oops ^^; ages since i did that) |
|||
Line 1: | Line 1: | ||
{{LSL_Function | |||
|func_id=167|func_sleep=0.0|func_energy=10.0 | |func_id=167|func_sleep=0.0|func_energy=10.0 | ||
|func=llGetScriptName | |func=llGetScriptName |
Revision as of 20:24, 1 July 2010
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 called this function.
Caveats
Examples
Remove the current script from the object <lsl> default {
state_entry() { llRemoveInventory(llGetScriptName()); }
}
</lsl>