Files
lslscripts/General/Die on command.lsl
Jessica Pixel b7ad3ccfb7 Some scripts
RegionControls is a set of simple scripts I use to control the color and
alpha of parts of my sims.  SLDB is the LSL half of a database system
for OS/SL that writes to an external MySQL database.
2013-05-14 13:58:48 -04:00

19 lines
420 B
Plaintext

integer CHANNEL = 8654;
string COMMAND = "please die";
default
{
state_entry()
{
llListen( 8654, "", NULL_KEY, "" );
}
listen(integer channel, string name, key id, string message)
{
if ( llToLower(message) == llToLower(COMMAND) )
{
llSay( PUBLIC_CHANNEL, "Cleaning up " + llGetObjectName() + " [" + llGetKey() + "]." );
llDie();
}
}
}