//Quickswitch//scout.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind mwheeldown slot2
bind mouse2 "+attack2; slot3"
////////////////////////


//Quickswitch//soldier.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind mwheeldown slot3
bind f slot2
////////////////////////

//Quickswitch//pyro.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot2
alias "+axe" "slot3; wait 10; +attack; wait 10; -attack"
bind "mwheeldown" "+axe"
bind mouse2 "+attack2; slot1; wait 5; -attack2"
////////////////////////

//Quickswitch//demoman.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind mwheeldown slot3
bind f slot2
////////////////////////

//Quickswitch//heavyweapons.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind mwheeldown slot3
bind f slot2
////////////////////////

//Quickswitch//engineer.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind mwheeldown slot2
bind f slot3
bind mouse4 slot4
bind mouse5 slot5
////////////////////////

//Quickswitch//medic.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind mouse2 "+attack2; slot2; wait 10; -attack2"
bind mwheeldown slot3
////////////////////////

//Quickswitch//sniper.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind f slot2
bind mwheeldown slot3
////////////////////////

//Quickswitch//spy.cfg//
exec clear.cfg; wait 2;
bind mwheelup slot1
bind f slot2
bind mwheeldown slot3
bind mouse4 slot4
////////////////////////


// clear.cfg // Resets Scripts before swapping

unbind "mouse1"
unbind "mouse2" 
unbind "mouse3"
unbind "mouse4" 
unbind "mouse5" 
unbind "q" 
unbind "1"
unbind "2" 
unbind "3" 
unbind "4" 
unbind "5" 
unbind "6" 
unbind "7"
unbind "8" 
unbind "9"
unbind "w"
unbind "a"
unbind "s"
unbind "d"
unbind "ctrl"
unbind "r"
unbind mwheeldown
unbind mwheelup

bind mwheelup invnext
bind mwheeldown invprev
bind "mouse1" "+attack;+reload"
bind "mouse2" "+attack2"
bind "q" "lastinv"
bind "1" "Slot1"
bind "2" "Slot2"
bind "3" "slot3"
bind "4" "Slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "w" "+forward"
bind "a" "+moveleft"
bind "s" "+back"
Bind "d" "+moveright"
bind "ctrl" "+duck"
bind "space" "+jump"
bind "r" +reload