26.12.2011, 22:36
Alright so I've seen a lot of these AFK scripts where you actually type a command to inform that you're going AFK. This one will detect if a player isn't moving or is in ESC mode and set them to AFK accordingly, player color and virtual world changes when state changes from AFK to BACK and vice-versa.
You can use this as a FilterScript or add it to your GM.
Explanation:
http://pastebin.com/rs4xefZm
edit: woops sorry, forgot to add the SetTimer function in the code, pastebin changed
You can use this as a FilterScript or add it to your GM.
Explanation:
Код:
(After connecting and spawning..) coole210 stands still for 60 seconds (Now AFK) coole210 moves (Now BACK) coole210 goes in ESCAPE mode (Now AFK) coole210 moves (Now BACK)
edit: woops sorry, forgot to add the SetTimer function in the code, pastebin changed