Difference between revisions of "LlGetScriptName"

From Second Life Wiki
Jump to navigation Jump to search
m (<lsl> tag to <source>)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{LSL_Function
{{Issues/SVC-388}}{{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
Line 5: Line 5:
|func_desc
|func_desc
|return_type=string
|return_type=string
|return_text=that is the script name.
|return_text=that is the name of the script that called this function.
|spec
|spec
|caveats
|caveats
|constants
|constants
|examples
|examples=Remove the current script from the object
<source lang="lsl2">
default
{
    state_entry()
    {
        llRemoveInventory(llGetScriptName());
    }
}
</source>
|helpers
|helpers
|also_functions
|also_functions

Latest revision as of 02:50, 22 January 2015