string llGetScriptName();
Forced delay: 0.0 seconds. Energy: 10.0.
Returns a string that is the name of the script that called this function.
Remove the current script from the object
default
{
state_entry()
{
llRemoveInventory(llGetScriptName());
}
}