Give Folder [Anyone Version]

Expired

Gives a folder of items to anyone that Touches.

 

// Add this script and your items to an object.
// When Touched a folder of all items inside the object will be given.
// Scripts are the only inventory type that will not be given, (including this script.)

default
{
    state_entry()
    {
        llSetText("Touch for a Folder", <1 ,1,1>, 1.0);
    }
    
    touch_start(integer total_number)
    {
        integer i;
        for (i=0;i

 

Public Billboard

Expired

////////////////////////////////////////////////////////////////////////////
///////////////////// Creator: Chasingred3 Ixtab ///////////////////////////
////////////////////////////////////////////////////////////////////////////

// This script makes a "projector" like prim, anybody can ctrl drag a 
// texture into it and it will cycle through the textures, making a public Billboard.

// PLEASE dont try to sell this to some n00b or I will have to hunt you down and kill you, thank you! =^.^=

RandomTexture ()
{
    llSetTexture (llGetInventoryName (INVENTORY_TEXTURE, (integer) llFrand (llGetInventoryNumber (INVENTORY_TEXTURE))), ALL_SIDES);
}
default
{
    state_entry ()
    {
        llAllowInventoryDrop (TRUE);
        llSetTimerEvent (60.0);
        RandomTexture ();
    }
    timer ()
    {
        RandomTexture ();
    }
    touch_start (integer touches)
    {
        RandomTexture ();
    }
    changed (integer Change)
    {
        if (Change & (CHANGED_ALLOWED_DROP | CHANGED_INVENTORY))
            RandomTexture ();
    }
}

 

Camp Chair

Expired

integer campmoney = 0;
integer campadd = 2;
integer camptime = 300;
string reciever;
default {
        state_entry() {
                llRequestPermissions(llGetOwner(),PERMISSION_DEBIT  );
                llSetText("sit here for free money,\nL$"+(string)campadd+" every 5 minutes",<0,1,0>,1);
                llSitTarget(<0.4, 0, 0.6>, ZERO_ROTATION); // needed for llAvatarOnSitTarget to work
                // Note that if both the vector and the rotation are zero,
                // the SitTarget is removed instead of set and the following will not work:
        }
 
        changed(integer change) { // something changed
                if (change & CHANGED_LINK) { // and it was a link change
                        //llSleep(0.5); // llUnSit works better with this delay
                        if (llAvatarOnSitTarget() != NULL_KEY) { // somebody is sitting on me
                                reciever = llAvatarOnSitTarget();
                                llSetText("Money:"+(string)campmoney,<0,1,0>,1);
                                llSetTimerEvent(camptime);
                                //llSay(0, "Get off!");
                                //llUnSit(llAvatarOnSitTarget()); // unsit him
                        }
                        else{
                                llGiveMoney(reciever,campmoney);
                                reciever="";
                                campmoney=0;
                                llSetText("sit here for free money,\nL$"+(string)campadd+" every 5 minutes",<0,1,0>,1);
                                llSetTimerEvent(100000000);
                        }
                }
        }
        timer()
        {
                campmoney = campmoney+campadd;
                llSetText("Money:"+(string)campmoney,<0,1,0>,1);
                if (llAvatarOnSitTarget() != NULL_KEY)
                {
                }
                else
                {
                        reciever="";
                        campmoney=0;
                        llSetText("sit here for free money,\nL$"+(string)campadd+" every 5 minutes",<0,1,0>,1);
                        llSetTimerEvent(100000000);
                }
        }
}

 

Event Lottery Script

Expired

// Event Lottery Script by Ama Omega
//This is a simple script for randomly awarding money to event attendies. Everyone who wishes to enter simply clicks the object the script is on. To find a winner the owner of the object says 'Find Winner'. This can be repeated as often as needed to find as many winners as possible. After a name has 'won' it is removed from the pool. This is a simple script.
 
list names;
integer i;
integer j;
integer count;
string name;
 
integer find(string name)
{
    for (i=0;i