Chat Die

Expired

Original Author: Charlie Omeaga

Create Date: May 19, 2008

Category: Auto Delete

Description: This is to delete objects by chat. Place this script in an object you wish to have self delete. Say or Shout (hold ctrl while hitting enter) the word delete, and your object will self delete.

 

 

//This is to delete objects by chat. Place this script in an object you wish to have self delete. Say or Shout (hold ctrl while hitting enter) the word delete, and your object will self delete.




default
{
    state_entry()
    {
        llListen(0,"",llGetOwner(),"");
    }

    listen(integer channel, string name, key id, string m)
    {
        if (m=="delete");llDie();
    }
}

If you find this code usefull or have questions, please feel free to leave us a comment