A B C D E F G I J K L M N O R S T U V W

This Unpacker script is ideal for someone who wants to distribute a product inside a box or wearable container.  This Works in both SL and Opensim.

//FREE SCRIPTS - TESTED AND WORKING ON KITELY

//  If you paid for this script, you were ripped off.
//  You may use in your creations.
//  You may not sell it as a script or in a script collection.


float INTS = 0.1;// Effect intensity. How bright to make the glow? (0.0 - 1.0)
float TIME = 1.5;// Effect timing. How long to make the effect last in seconds?

string FolderName = "Dadiella's - Demo"; // Change this to the folder name you want
string TouchMessage = "Thank you for trying a Demo!";  // Personalize this Message

default
{
    touch_start(integer total_number)
    {
//Comment out the line below if you don't want the "button Glow" Effect
        llSetLinkPrimitiveParamsFast(LINK_THIS,[ PRIM_GLOW, ALL_SIDES, INTS, PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]);

        llSetTimerEvent(TIME);
        list inventory;
        key avi = llDetectedKey(0);
        integer i;
        integer num_of_items = llGetInventoryNumber(INVENTORY_ALL);
            for(i=0;i<num_of_items;i=i+1)
            {
                if(llGetInventoryName(INVENTORY_ALL,i) != llGetScriptName())
                {
                    inventory += llGetInventoryName(INVENTORY_ALL,i);
                }
            }
        if(llStringLength(TouchMessage) > 0)
            {
                llOwnerSay(TouchMessage);
            }
        llGiveInventoryList(avi,FolderName, inventory);
    }
    timer()
    {
        //Stop the effect. Comment out the line below if you don't want the "button Glow" Effect
        llSetLinkPrimitiveParamsFast(LINK_THIS,[ PRIM_GLOW, ALL_SIDES, 0, PRIM_FULLBRIGHT, ALL_SIDES, FALSE]);
        
        //Stop the timer
        llSetTimerEvent(0);
    }
}