Top Free Scripts
Script ID : 16
Audience : Default
Version 1.00.01
Published Date: 2008/4/1 8:15:05
Reads : 3675
Agent/Avatar

Fill a prim with this script and as many objects as you like. User Touches and gets 1 random object. (No more than 100 objects is suggested for best results.)

default
{
    
touch_start(integer total_number)
    {
        
float totalobjects llGetInventoryNumber(INVENTORY_OBJECT);
        
totalobjects llFrand(totalobjects);
        
llGiveInventory(llDetectedKey(0),llGetInventoryName(INVENTORY_OBJECT, (integer)totalobjects));
    }
}

0
|  Links 
Printer Friendly Page Send this Script to a Friend
Search for Help
New Product
Free Item
Sponsor

Site Info
Total Hits