Jump to content

Auto death


Guest
 Share

You are about to reply to a thread that has been inactive for 4294 days.

Please take a moment to consider if this thread is worth bumping.

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

 

Link to comment
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 :)

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4294 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...