Difference between revisions of "LlGetScriptName"

From Second Life Wiki
Jump to navigation Jump to search
(clarifying)
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 name of the script that this function is used in.
|return_text=that is the name of the script that called this function.
|spec
|spec
|caveats
|caveats

Revision as of 14:49, 24 January 2010

{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 <lsl> default {

   state_entry()
   {
       llRemoveInventory(llGetScriptName());
   }

} </lsl> |helpers |also_functions |also_events |also_tests |also_articles |notes |permission |negative_index |sort=GetScriptName |cat1=Inventory |cat2=Script |cat3 |cat4 }}