Reporter

Administrator
Any way to make this AFK script not use the wait command?
Script:

//file is called afkloop.cfg

alias loop "+attack; +forward; wait 50; -forward;+back; wait 50; -attack; +attack;-back;+moveleft; wait 50; -moveleft; +moveright; wait 50; -moveright; -attack; loop"
bind 7 "loop"

alias unloop ""alias loop "; wait 300; exec afkloop";
bind 8 "unloop"

---------

This script causes me to walk forward then back and then left and then back while constantly attacking by pressing 7.

Pressing 8 stops the loop and allows you to control your character, then executes the file so pressing 7 starts the loop again.

I added "wait 300" on it because sometimes it doesn't stop and you have to press the button multiple times or hold it down, and this allowed it to stop when I pressed 8 once.

---------

My problem is, on servers like Skial (for example) using the "wait" command hangs the game, forcing me to log out of my computer (kills all apps running) or restart my computer (same thing).

How do I fix this?

---------

This script


Author: Unown89

https://www.reddit.com/r/Tf2Scripts...way_to_make_this_afk_script_not_use_the_wait/
http://www.reddit.com/r/Tf2Scripts/...afk_script_not_use_the_wait/?ref=search_posts