add a variable to the client or character class
whenever you receive a walkpacket or jump packet assign the the variable environment.tickcount or timegettime()
in some loop/timer (where stamina is even) check if that variable + 1000 * 10 * 60 < environment.tickcount
if so disconnect
ok
|