//Spy is special so I gotta give him new, unique binds
//;bind kp_ins for 0
//;bind kp_del for .
//;bind kp_enter for enter
//;bind kp_plus for +
//;bind kp_minus for -
//;bind kp_multiply for star
//;bind kp_slash for /
//;bind kp_numlock for numlock.
unbindall
alias shouldDrawModels 0
r_drawviewmodel 0;
//; Models will start off
//; Hitting 3 will turn them on
//; Hitting mouse 2 will turn them on
//; Hitting 1, 2 will turn them off
//; If you hit 1 or 2 while cloaked,
//; viewmodels should stay on
//; If you hit 3 while cloaked, nothing happens so it doesn't matter
//; Once you uncloak, if you have 1 or 2 open, your viewmodels should go away
//; So really if you have your knife out when decloaking, your viewmodels should stay, otherwise, they should leave
echo "Spy script is broken, can't cloak for some reason?"
bind / "r_drawviewmodel 0 1"
alias +sap "slot2; +attack"
alias -sap "-attack; lastinv"
alias shouldEnableModels 1
alias toggleModelsOff "alias shouldEnableModels 0"
alias toggleModelsOn "alias shouldEnableModels 1"
alias base_revolver "slot1; r_drawviewmodel shouldEnableModels; toggleModelsOff"
alias base_sap "slot2; r_drawviewmodel shouldEnableModels; toggleModelsOff"
//; uncloak_x = base_x
//; cloak_x = slotx;
alias isCloaked 0
alias base_knife "slot3; r_drawviewmodel 1; toggleModelsOn"
alias +cloak "+attack2; r_drawviewmodel 1; toggleModelsOn;"
alias -cloak "+attack2; r_drawviewmodel shouldEnableModels; toggleModelsOff;"
bind mouse1 +attack
bind MOUSE2 +attack2
bind mouse4 +sap
bind mwheelup +jump
bind mwheeldown invnext
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back; +forward; alias checkfwd +forward"
alias +mback "-forward; +back; alias checkback +back"
alias +mleft "-moveright; +moveleft; alias checkleft +moveleft"
alias +mright "-moveleft; +moveright; alias checkright +moveright"
alias -mfwd "-forward; checkback; alias checkfwd none"
alias -mback "-back; checkfwd; alias checkback none"
alias -mleft "-moveleft; checkright; alias checkleft none"
alias -mright "-moveright; checkleft; alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
bind 0 slot10
bind 1 base_revolver
bind 2 base_sap
bind 3 base_knife
bind 4 slot4
bind 5 slot5
bind 6 slot6
bind 7 slot7
bind 8 slot8
bind 9 slot9
bind kp_end join_class scout //; numpad 1
bind kp_doawnarrow join_class soldier //; numpad 2
bind kp_pgdn join_class pyro //; numpad 3
bind kp_leftarrow join_class demoman //; numpad 4
bind kp_5 join_class heavyweapons //; numpad 5
bind kp_rightarrow join_class engineer //; numpad 6
bind kp_home join_class medic //; numpad 7
bind kp_uparrow join_class sniper //; numpad 8
bind kp_pgup join_class spy //; numpad 9
bind q lastinv
bind z "voicemenu 0 0"
bind u say_team
bind y say
bind t "impulse 201"
bind o taunt
bind x voice_menu_1
bind c voice_menu_2
bind v voice_menu_3
bind , changeclass
bind . changeteam
bind m open_charinfo_direct
bind n +quickswitchmenu
bind space +jump
bind shift +duck
bind tab +showscores
bind escape cancelselect
bind [ cl_trigger_first_notification
bind ] cl_decline_first_notification
bind l dropitem
bind b lastdisguise
bind r +reload
bind ` +voicerecord
exec tweaks/tabgraph