Removes the inventory item
identified by inventory
from the object's inventory
. Note: once removed this item is gone forever: it does not return to your own inventory, so be careful with no copy items.
llRemoveInventory("Object"); // delete the item named Object from the contents of the prim
can delete itself by supplying the result of llGetScriptName
to this function:
Attempting to delete a nonexistent inventory item will result a script error "Missing inventory item 'x'" where x is the name of the nonexistent inventory item.
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.