mirror of
https://github.com/liftedpixel/lslscripts.git
synced 2026-08-14 00:58:07 +00:00
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.
19 lines
420 B
Plaintext
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();
|
|
}
|
|
}
|
|
} |