08.04.2023, 09:55
Dies entfernt alle NPC's auf einer Region.
Das Script einfach in ein Prim legen und mit dem Mauszeiger draufklicken.
Autor: unbekannt
Lizenz: FREE SCRIPTS
works!
Das Script einfach in ein Prim legen und mit dem Mauszeiger draufklicken.
Autor: unbekannt
Lizenz: FREE SCRIPTS
Code:
// 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);
}
}
}
works!
All done!