Auto Product Unpacker Version 1
![Auto Product Unpacker](https://slm-assets.secondlife.com/assets/33569796/lightbox/STORE%20LOGOS%20amelia%20venus%20-%20kranzworth%20media%20products%20logo.jpg?1687993629)
![](https://slm-assets.secondlife.com/assets/33569796/thumbnail/STORE%20LOGOS%20amelia%20venus%20-%20kranzworth%20media%20products%20logo.jpg?1687993629)
Details
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.
Features
- 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.
Contents
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.