I was messing around with scripts and used a rapid fire stickies macro that uses the wait command.
Was banned for "cheating"... first time I've ever used it.
bind mouse1 +primary
bind mouse2 +secondary
alias "+secondary" "-reload;alias s_repit +s_repit;+s_repit;alias -p_repit primary2"
alias "s_repit" "+s_repit"
alias "+s_repit" "+attack2; wait 2; -s_repit"
alias "-s_repit" "-attack2; wait 10; s_repit"
alias "-secondary" "alias s_repit none;alias -p_repit primary1;+reload"
alias none ""
alias "+primary" "alias a_reload a_reload2;-reload;wait;alias +p_repit p_r1;alias p_repit +p_repit;+p_repit"
alias "p_repit" "+p_repit"
alias "+p_repit" "p_r1"
alias "-p_repit" "p_repit"
alias "-primary" "-attack;alias p_repit none;alias +p_repit p_r2;alias a_reload a_reload1;wait 10;a_reload"
alias p_r1 "+attack;wait 3;-p_repit"
alias p_r2 "-attack"
alias a_reload a_reload2
alias a_reload1 "+reload"
alias a_reload2 "-reload"
alias primary1 "p_repit"
alias primary2 "-attack;wait 3;p_repit"
http://tf2wiki.net/wiki/scripting#WAIT