スクリプト名that is the script name.のstring値を返します。
オブジェクトから現在のスクリプトを除去します
default { state_entry() { llRemoveInventory(llGetScriptName()); } }