Jump to content
Sign in to follow this  
Guest

Auto death

Recommended Posts

This is a little world help me script, it helps you and the sims you're on or were on. This script is setup so if the player leaves or quites game it will check see if they're still around if not it will delete the object. This is helpful for anti-spamming sims just in case you forget a item or lose it.

 

/* 
This is a open script edit/sell/modify do what you want and please with.
*/

key owner; integer DieTimer; default { state_entry() { owner = llGetOwner(); llSetTimerEvent(60); //timmer is in seconds 60sec = min and so on. } timer() {//timer, Checks in player left or crashed if (llKey2Name(owner) == "") { //he's not in this sim DieTimer++; if (DieTimer > 2 ) // Gives the user sometime too come back, just in case they crashed. { llInstantMessage(owner,"You'r Object was delete!"); // Let's user know object was delete llDie();//he hasn't came back yet } } else { //in sim llInstantMessage(owner,"Your Still in sims"); // Gives you a warning letting you know object still here just in case you crashed. You may remove this is want DieTimer =0; } } }//end of script

 

Share this post


Link to post
Share on other sites

would work only if everyone were to add it to their prims, which a spammer or griefer is very unlikely to do :)

But could be handy to get rid of prims that shoot off into the while blue yonder while you're building things. Just remember to remove it again before you package the build :)

Share this post


Link to post
Share on other sites

Indeed griefer will most likely not use this, figure it would be more of a personal used script. Tip jars / buildings / bullets other stuff :)

But most griefer are pubs too scripting world, Make this into a object and giving it out too griefer they might not know different.. :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...