Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // AFK script by |FOX|Yarukinasu
- // requires tools.cfg
- AFK_NAME = "|AFK|Yarukinasu" // replace this with the AFK name
- CUR_NAME = "|FOX|Yarukinasu" // replace this with the original name
- lastmoved = (millis)
- afk = [
- if (> (- (millis) $lastmoved) 300000) [ // adjust the amount of time for personal preference
- if (strcmp $curname $CUR_NAME) [ name $AFK_NAME ] ] [
- if (strcmp $curname $AFK_NAME) [ name $CUR_NAME ] ]
- sleep 0 [ afk ] ]
- addcheck_msa afk
- loop i (listlen $keylist) [ add2bind (at $keylist $i) [ lastmoved = (millis) ] ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement