Difference between revisions of "LlGetScriptName"

From Second Life Wiki
Jump to navigation Jump to search
 
m (<lsl> tag to <source>)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{LSLFunctionAll|func_id=167|func_sleep=0.0|func_energy=10.0|func=llGetScriptName|func_footnote=Returns the script name|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{Issues/SVC-388}}{{LSL_Function
|func_id=167|func_sleep=0.0|func_energy=10.0
|func=llGetScriptName
|func_footnote
|func_desc
|return_type=string
|return_text=that is the name of the script that called this function.
|spec
|caveats
|constants
|examples=Remove the current script from the object
<source lang="lsl2">
default
{
    state_entry()
    {
        llRemoveInventory(llGetScriptName());
    }
}
</source>
|helpers
|also_functions
|also_events
|also_tests
|also_articles
|notes
|permission
|negative_index
|sort=GetScriptName
|cat1=Inventory
|cat2=Script
|cat3
|cat4
}}

Latest revision as of 02:50, 22 January 2015