Difference between revisions of "LlGetScriptName"
Jump to navigation
Jump to search
Core Taurog (talk | contribs) |
Void Singer (talk | contribs) m (formatted example) |
||
Line 10: | Line 10: | ||
|constants | |constants | ||
|examples=Remove the current script from the object | |examples=Remove the current script from the object | ||
< | <lsl> | ||
default | default | ||
{ | { | ||
Line 18: | Line 18: | ||
} | } | ||
} | } | ||
</ | </lsl> | ||
|helpers | |helpers | ||
|also_functions | |also_functions |
Revision as of 18:49, 19 February 2008
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 script name.
Caveats
Examples
Remove the current script from the object <lsl> default {
state_entry() { llRemoveInventory(llGetScriptName()); }
}
</lsl>