Try setting the set_task flags to a, or ab instead of b. Maybe set the last parameter ("repeat") to 1. Also, this line of code looks awfully peculiar:
Code:
if (getafktime-WARNINGTIME <= afkplayer[id] < getafktime) {
if max time allowed to be AFK minus the warning time is smaller than or equal to how long the player has been afk is smaller than the max time allowed to be AFK?
It's the <= and then the < which is weird.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS