Anti AFK Script

timo0o

New member
Messages
22
Points
0
Hello guys and girls :-)

I would like to request whether if anyone has any anti-afk script for homunculus AFK farming?

If possible I'd like to set for specific maps where people who AFK will be
questioned (specifically for alchemist/creator & genetic class
only) and if they fail to answer within 1 minute, they'll be auto jailed
/ kicked.

Hopefully someone can help thanks!

Duration before asking would be afking for 10 minutes straight with no movements.

PS: The script from this Topic in 2013 doesn't work or the Copy-Paste is terrible because it's 1line.

http://herc.ws/board/topic/1552-anti-afk-script/

 
Should be easy using this and checking the map:

*checkidle({"<Player Name>"})
Returns the time, in seconds, that the specified player has been idle.
Name is optional, and defaults to the attached player if omitted.
And probabbly mapflag on load maps the map you want to check (when OnLoadMap)...
If you don't know anything about scripting I could help you, just define more information if you want.

 
Back
Top