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

This script will remove all NPC’s in your sim.  This script is for Opensim only.

//  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.
 
default
{
    state_entry() 
    {
        //Disable script if it is in a box and <disable> is the box description (for distribution)
        if(llGetObjectDesc() == "<disable>") return;
    }
    touch_start(integer number)
    {
        list avatars = llList2ListStrided(osGetAvatarList(), 0, -1, 3);
        integer i;
        llSay(0,"NPC Removal: No avatars will be harmed or removed in this process!");
        for (i=0; i<llGetListLength(avatars); i++)
        {
            string target = llList2String(avatars, i);
            osNpcRemove(target);
            llSay(0,"NPC Removal: Target "+target);
        }
    }
}