LlGetScriptName - Second Life Wiki

LlGetScriptName

From Second Life Wiki

Jump to: navigation, search

Contents

Summary

Function: string llGetScriptName( );

Returns a string that is the name of the script that called this function.

Examples

Remove the current script from the object

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

Deep Notes

All Issues

~ Search JIRA for related Issues
   llGetScriptName returns script's old name
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.