Difference between revisions of "LlGetScriptName"

From Second Life Wiki
Jump to navigation Jump to search
m (<lsl> tag to <source>)
 
(9 intermediate revisions by 6 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
Line 20: Line 29:
|sort=GetScriptName
|sort=GetScriptName
|cat1=Inventory
|cat1=Inventory
|cat2=Script Internals
|cat2=Script
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 01:50, 22 January 2015