//Type savecvar in console to save cvars
//Type loadcvar in console to load cvars

//Binds
bind "del" "console_toggle" 
bind "p" "menu_t"
bind "z" "+ramp"


//Menu
alias menuon "menu_select"
alias menuoff "menu_back;menu_back;menu_back;menu_back"
alias menu1 "menuon;alias menu_t menu0"
alias menu0 "menuoff;alias menu_t menu1"
menu0

bind uparrow "menu_up"
bind downarrow "menu_down"
bind leftarrow "menu_back"
bind rightarrow "menu_select"

alias siground "#say "
alias sigalive "#say "
alias sigdead "#say "
alias sigswitch "#slot2"
alias sigswitch1 "#slot1"
alias sigmenuoff ""

//Buy Script
bind "f1" 	"buy1"
bind "f2" 	"buy2"
bind "f3" 	"buy3"
bind "f4" 	"buy4"
bind "f6"   "buy5"

alias buy_ak "#ak47;buy_stuff"
alias buy_colt "#m4a1;buy_stuff"
alias buy_sig "#sg552;buy_stuff"
alias buy_aug "#aug;buy_stuff"
alias buy_scout "#scout;buy_stuff"
alias buy_para "#m249;buy_stuff"
alias buy_deagle "#deagle;buy_stuff"
alias buy_stuff "#vesthelm;#deagle;#hegren;#primammo;#secammo"

alias buy1 "buy_deagle"
alias buy2 "if is ct buy_colt else buy_ak"
alias buy3 "if is ct buy_aug else buy_sig"
alias buy4 "buy_scout"
alias buy5 "buy_para"

//Scripts
alias +ramp "mefrozen 0;fspeed 20;aspeed 1;speed 20;#cl_timeout 9999999"
alias -ramp "mefrozen 0.6;fspeed 0.4;aspeed 20;speed 1;#cl_timeout 9999999"
alias crash "#scout;#awp;#m4a1;#ak47;#deagle;#sg552;#aug;#mp5;#m249;later 0.02 crash"
alias advertise "#say "

autowall 1
shoot 1

exec vecs
exec inverse
exec recoils