Unpack any modifiable product package by wearing it and adding this script.
Works in build restricted areas.
Script self deletes and does not deliver itself.
Script is modifiable.
The folder you receive will have the same name as the product box.
default
{
state_entry()
{
integer i;
integer n=llGetInventoryNumber(INVENTORY_ALL);
list d;
for(i=0;i<n;i++)
{
string s=llGetInventoryName(INVENTORY_ALL,i);
if(s!=llGetScriptName())
d+=s;
}
llGiveInventoryList(llGetOwner(), llGetObjectName(), d);
llRemoveInventory(llGetScriptName());
}
}
Want this script to unpack your product boxes for your customers? Change state_entry() line to be on_rez(integer s) and get rid of the llRemoveInventory(llGetScriptName()); line.
- Unpack any modifiable product package by wearing it and adding this script.
- Works in build restricted areas.
- Script self deletes and does not deliver itself.
- Script is modifiable.
- The folder you receive will have the same name as the product box.
I am grateful
That you have given us such a nice gift. Thank you!
Works perfectly
Copy, mod the script as shown to auto-unpack.
Thank you so much
Nice for areas where you can't rez
I received a folder with the same name as the product box as expected :)
Not working correctly
drop script into delivery box, auto sends stuff from box to yourself, instantly.