
#setinfo _vgui_menus 1

alias +He|BarRaGe "speed 10;get_weapon5;#cl_timeout 9999999999999"
alias -He|BarRaGe "speed 0;#cl_timeout 9999999999999"

alias +rrr "#+reload;get_b67"
alias -rrr "#-reload"

alias +ttt "#+use;#impulse 201"
alias -ttt "#-use"

alias bob0 ".cl_pitchspeed 999999;.cl_yawspeed 999999;.ex_interp 0.01;.ex_extrapmax 1;.cl_bob 0.0;.cl_bobup 0.0;.cl_bobcycle 0.0"


alias +hlset "hud_draw 0;hud_saytext_time 0;cl_updaterate 99999999999999999999;cl_cmdrate 99999999999999999999;rate 99999999999999999999;cl_showfps 0"
alias -hlset "hud_draw 1;hud_saytext_time 5;cl_updaterate 25;cl_cmdrate 35;rate 2500;cl_showfps 1"

alias +noesp "soundesp 0;sounddisplay 0;weapon 0;name 0;radar 0;crosshair 0"
alias -noesp "soundesp 1;sounddisplay 2;weapon 1;name 30;radar 1;rosshair 3"


alias +AutoRoute "+noesp;+hlset;bob0;autoroute 1;autonav 1;wptshow 0;mefrozen .0;fspeed .60;speed 200;aspeed 12;#cl_timeout 99999999999999999999;txt Way Rush On"
alias -AutoRoute "-noesp;-hlset;autoroute 0;autonav 0;wptshow 2;mefrozen .6;speed 0.0;aspeed 0.0;#cl_timeout 99999999999999999999;txt Way Rush Off"

//Route Control
alias RouteOpen1 "route_load;wptshow 1;wptstyle 2;alias ToggleRoute RouteOpen2;txt Route Open"
alias RouteOpen2 "route_load;wptshow 1;wptstyle 1;alias ToggleRoute RouteClose;txt Rout Open"
alias RouteClose "wptshow 0;route_clear;alias ToggleRoute RouteOpen1;txt Route Close"
alias ToggleRoute "RouteOpen1"

//Route Mode Control
alias RouteMode1 "walkmode 1;alias ToggleRouteMode RouteMode2;txt Walk Mode 1"
alias RouteMode2 "walkmode 2;alias ToggleRouteMode RouteMode3;txt Walk Mode 2"
alias RouteMode3 "walkmode 3;alias ToggleRouteMode RouteMode1;txt Walk Mode 3"
alias ToggleRouteMode "RouteMode1"

//Route Angle Control
alias Angle1 "routeangle 10;alias Angle Angle2;txt Angle 10 degree"
alias Angle2 "routeangle 20;alias Angle Angle3;txt Angle 20 degree"
alias Angle3 "routeangle 30;alias Angle Angle4;txt Angle 30 degree"
alias Angle4 "routeangle 40;alias Angle Angle5;txt Angle 40 degree"
alias Angle5 "routeangle 50;alias Angle Angle6;txt Angle 50 degree"
alias Angle6 "routeangle 60;alias Angle Angle7;txt Angle 60 degree"
alias Angle7 "routeangle 70;alias Angle Angle8;txt Angle 70 degree"
alias Angle8 "routeangle 80;alias Angle Angle9;txt Angle 80 degree"
alias Angle9 "routeangle 90;alias Angle Angle1;txt Angle 90 degree"
alias Angle "Angle1"

bind "k" "Angle"

//RoutePursue Control
alias PursueOpen "routepursue 1;alias TogglePursue PursueClose;txt Pursue Open"
alias PursueClose "routepursue 0;alias TogglePursue PursueOpen;txt Pursue Close"
alias TogglePursue "PursueClose"

alias RouteOpen "RouteOpen2"

//quake gun mode
alias QuakeOpen "quake 1;alias  QuakeMode QuakeClose;txt Quake Open"
alias QuakeClose "quake 0;alias  QuakeMode QuakeOpen;txt Quake Close"
alias QuakeMode "QuakeOpen"


//hitbox mode
alias HitboxOpen "hitbox 11;hitboxclear;jumpclear;hitboxad 0 0 0;jumpad -3.7 -1.5 0;alias  HitboxMode Hitbox9;txt Hitbox Head"
alias Hitbox9 "hitbox 9;hitboxclear;jumpclear;hitboxad 0 0 0;jumpad -3.7 -1.5 0;alias  HitboxMode Hitbox8;txt Hitbox Low Head"
alias Hitbox8 "hitbox 8;hitboxclear;jumpclear;hitboxad 0 0 0;jumpad -3.7 -1.5 0;alias  HitboxMode Hitbox7;txt Hitbox Chest"
alias Hitbox7 "hitbox 7;hitboxclear;jumpclear;hitboxad 0 0 0;jumpad -3.7 -1.5 0;alias  HitboxMode HitboxClose;txt Stomach"
alias HitboxClose "hitbox 0;alias  HitboxMode HitboxOpen;txt Hitbox Close"
alias HitboxMode "HitboxOpen"


//spin mode
alias SpinOpen "spin 1;alias  SpinMode Spin2;txt Spin1 Open"
alias Spin2 "spin 2;alias  SpinMode SpinClose;txt Spin2 Open"
alias SpinClose "spin 0;alias  SpinMode SpinOpen;txt Spin Close"
alias SpinMode "SpinOpen"

//shot mode

alias SoftOpen "loadcvar cvar2.bin;#drawradar;unbind del;unbind ins;unbind [;unbind f12;unbind mouse1;alias ShotMode HardOpen;exec fpsold;txt Soft Mode Settings loaded"

alias HardOpen "loadcvar cvar1.bin;#hideradar;bind [ SpinMode;bind f12 ToggleRoute;bind mouse1 +AutoRoute;bind del console_toggle;bind ins menu_toggle;alias ShotMode SoftOpen;txt Hard Mode Settings loaded"
alias ShotMode "HardOpen"



//buyscript
alias get_sgren "#sgren;get_misc"
alias get_scout "#scout;get_misc"
alias get_g3 "#g3sg1;get_misc"
alias get_sg "#sg550;get_misc"
alias get_M3 "#m3;get_misc"
alias get_awp "#awp;get_misc"
alias get_ak "#ak47;get_misc"
alias get_colt "#m4a1;get_misc"
alias get_misc "#primammo;#vesthelm;#usp;#secammo;#impulse 101"
alias get_misc2 "#primammo;#vesthelm;#deagle;#secammo;#impulse 101"
alias get_shield "#sgren;#shield;#hegren;get_misc2"

alias get_b67 "#primammo;#vesthelm;#secammo;#impulse 101"
alias get_weapon1 "if is t get_ak else get_colt"
alias get_weapon2 "get_scout"
alias get_weapon3 "if is ct get_sg else get_g3"
alias get_weapon4 "get_awp"
alias get_weapon5 "if is ct get_colt else get_ak"
alias get_weapon6 "get_sgren;#wait;#weapon_smokegrenade;#wait;#+attack;#wait;#+attack;#wait;#-attack"

//Speed 
alias speed-a "speedon 10000;speedoff 0;vec_dodge 1;aspeed 0;speed 256.0;#cl_timeout 99999999999"
alias speed-b "speedon 10000;speedoff 0;vec_dodge 0;speed 0;aspeed 8.0;#cl_timeout 99999999999"
alias speed-c "speedon 10000;speedoff 0;aspeed 0;speed 2.0;#cl_timeout 99999999999"
alias speed-d "speedon 10000;speedoff 0;aspeed 0;speed 10.9;#cl_timeout 99999999999"
alias speed-g "speedon 10000;speedoff 0;aspeed 2.2;speed 1;#cl_timeout 99999999999"

alias spdt "spd1"
alias spd1 "speed-a;alias spdt spd2"
alias spd2 "speed-b;alias spdt spd1"

alias switchspeed "bind mouse3 +spda;bind rshift +spd"
alias +spd "speed-c"
alias -spd "speed-g"
alias +spda "speed-a"
alias -spda "speed-b"

alias +panic "speed-d"
alias -panic "speed-b"

//wallhack changer
alias wallz "whchange1"
alias whchange0 "wall 0;trans 0;nosky 0;txt Wallz oFF;alias wallz whchange1"
alias whchange1 "wall 1;nosky 0;txt Wall 1;alias wallz whchange2"
alias whchange2 "wall 2;nosky 0;alias wallz whchange3"
alias whchange3 "wall 7;nosky 1;txt Wall 3;alias wallz whchange4"
alias whchange4 "wall 9;nosky 0;txt Wall 9;alias wallz whchange5"
alias whchange5 "wall 10;nosky 0;txt Wall 4;alias wallz whchange0"
bind f "wallz"

alias bob0 ".cl_pitchspeed 999999;.cl_yawspeed 999999;.ex_interp 0.01;.ex_extrapmax 1;.cl_bob 0.0;.cl_bobup 0.0;.cl_bobcycle 0.0"


