alias +tsw.rattack "+attack; tsw.rattacktog"
alias -tsw.rattack "-attack; alias tsw.rattacktog tsw.rattacktog1"
alias tsw.rattacktog "tsw.rattacktog1"
alias tsw.rattacktog1 " "
alias tsw.rattacktog2 "lastinv; wait; lastinv"
alias +tsw.reload "+reload; alias tsw.rattacktog tsw.rattacktog2"
alias -tsw.reload "-reload"
bind "mouse1" "+tsw.rattack"
bind "r" "+tsw.reload"