function
Function syntax
string llGetScriptName();- Returns
string- Energy
- 10
Returns a string that is the name of the script that called this function.
string result = llGetScriptName();Examples
Section titled “Examples”Remove the current script from the object
default{ state_entry() { llRemoveInventory(llGetScriptName()); }}Known issues
Section titled “Known issues”- SVC-388:
llGetScriptNamereturns script’s old name