alias loop "+attack;+attack2;+forward;wait 50;-forward;+back;wait 50;-attack;-attack2;+attack;+attack;-back;+moveleft;wait 50;-moveleft;+moveright;wait 50;-moveright;-attack2;-attack;loop" bind F5 "loop" alias unloop "alias loop "; bind F6 "unloop"
Simple Idle Script :)
1.Go on to a random folder,go up to "tools" tab and click folder options.
2.Click on the "view" tab and scroll down until you see "Hide extensions for known file types" and uncheck it.
3.Enter C:/Program Files/Valve(mightn't always be there)/Steam/Steamapps/USERNAME/Team Fortress 2/tf/cfg.
4.Create a file named autoexec.cfg.
5.Copy this script into autoexec.cfg and save.
6.Launch Team Fortress 2 and click F5.Click F6 to unload it.
NOTE: You will only need to click F5 once(unless you unload the script with F6)