[FilterScript] Useful AFK
#1

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:

Код:
(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)
http://pastebin.com/rs4xefZm

edit: woops sorry, forgot to add the SetTimer function in the code, pastebin changed
Reply
#2

Nice one men. Not the best afk system, but nice
Reply
#3

So far good.
It sets the player into a virtual world when the player is AFK.
You could probably add a text to let the players know who went AFK.
Reply
#4

Quote:
Originally Posted by Serbish
Посмотреть сообщение
So far good.
It sets the player into a virtual world when the player is AFK.
You could probably add a text to let the players know who went AFK.
AFK before the name and afk list.
Reply
#5

+rep
Reply
#6

S.S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)