ID:270557
 
I am attemping to program a "Auto Boot" for inactive players. My problem is that i'm not sure how to write it so the players who are just standing around chatting or training arent "booted" too. can someone show me a simple way of achiving this?

Thank you -Krow-
there is a built in varible called inactivity

taken straight from the reference

mob/verb/inactivity()
usr << "You have been inactive for [client.inactivity/10] seconds."


all you have to do is keep checking ervyones inactivty varible and boot them once it gets so high.
Look up client.inactivity

- GhostAnime
In response to GhostAnime
Beat ya ghost :P
In response to A.T.H.K
Yeah :x

- GhostAnime