LlGetScriptName

From Second Life Wiki
Revision as of 14:49, 24 January 2010 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

{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 }}