Landmark And Notecard Giver

Expired

// Copyright 2004, Trimming Hedges.  Released to the public domain.
 
// This is a simple script that gives everything in a box to the person who clicked.
// By default, it will only give items to the owner of the box. 
 
// I wrote this because of all the texture bundles that are given out.  It's really a PAIN
// to move a lot of textures or other contents out of a box.  This speeds that up.
 
// This is NOT a vending script.  You can use this script to give everything in a box to someone, by changing 'owneronly' to be 0.  BUT:
//
//  I suggest not using this script in an area where several people are going to touch it at once, because giving inventory is slow.
//  Version 2.0 of this script now detects multiple simultaneous touches: it is still slow, but it should work better at classes or events.
 
//  THIS IS NOT A VENDING SCRIPT.  It gives items away, it does NOT SELL THEM.  (You don't need a script for most vending anyway.)
//  This script doesn't give itself away.  If you want it to, put it in the box, and set it to not running.
//  Then rename a copy and put that in the box too.  The renamed copy should be the running one.
//  Rename it FIRST, I had weird issues with renaming it when it was already in
//  the box. (version 1.2.12 of SL.) 
 
integer owneronly = 0;
key owner;
 
default
{
    state_entry()
    {
        owner = llGetOwner();
    }
 
    touch_start(integer total_number)
    {
        integer i;
        for (i=0;i 0)
                {
                    for (k=0; k

 

Flattening Land

Expired

// Copyright 2004 Guzar Fonzarelli
// Please keep this copyright notice attached to this script.
 
default
{
    state_entry()
    {
        llSetTimerEvent(0.1);
    }
 
    timer()
    {
        llModifyLand(LAND_LEVEL, LAND_MEDIUM_BRUSH);
    }
}

 

No Lost And Found

Expired

// This script keeps objects that get away from you from going into your lost and found when they leave the world due to getting away. The objects delete at the edge of the world, but doesn't go into your trash. So be carefull with this, make sure you have a copy of your object before letting an object go  that has this.
default
{
    state_entry()
    {
        llSetStatus(STATUS_DIE_AT_EDGE, TRUE);
    }
}

 

Object Detector

Expired

//
//    SHOP ZERO Tips24 ObjectDetector v1.0
//
//                   Created by Zero2000 Kid     2008/03/21
// 
 
integer input_ch = 33;
integer range=96;
integer handle;
string target;
string simname;
 
output_info (vector v , string name) {
    string pos=(string)v.x + "/" + (string)v.y + "/" + (string)v.z;
    llInstantMessage(llGetOwner(),name+"--> secondlife://"+simname+"/"+pos);
}
 
default {
    state_entry(){
        handle = llListen(input_ch,"",llGetOwner(),"");
    }
 
    on_rez(integer param){
        llResetScript();
    }
 
    listen(integer ch, string name, key id, string message) {
        target=message;
        simname=llGetRegionName();
        llInstantMessage(llGetOwner(),"Searching " + target + " ....");
        state active_target;
    }
 
}
 
state active_target {
 
    state_entry(){
        llInstantMessage(llGetOwner(),"");
        llSensor(target, NULL_KEY, ACTIVE, range, PI);
    }
 
    sensor(integer total_number) {
        integer i;
        for (i = 0; i  Not found.");
        state passive_target;
    }
 
}
 
state passive_target {
 
    state_entry(){
        llInstantMessage(llGetOwner(),"");
        llSensor(target, NULL_KEY, PASSIVE, range, PI);
    }
 
    sensor(integer total_number) {
        integer i;
        for (i = 0; i  Not found.");
        state scripted_target;
    }
 
}
 
state scripted_target {
 
    state_entry(){
        llInstantMessage(llGetOwner(),"");
        llSensor(target, NULL_KEY, SCRIPTED, range, PI);
    }
 
    sensor(integer total_number) {
        integer i;
        for (i = 0; i  Not found.");
        llInstantMessage(llGetOwner(),"Searching complete.");
        state default;
    }
 
}