Skip to content

Instantly share code, notes, and snippets.

@overestimate
Last active November 8, 2023 17:05
Show Gist options
  • Save overestimate/440f222516d90eca00a07b54ae0080aa to your computer and use it in GitHub Desktop.
Save overestimate/440f222516d90eca00a07b54ae0080aa to your computer and use it in GitHub Desktop.
cs2 desubticked exec method (FIXED)
alias call_actions "exec desub_call"
// call reset once to prevent unknown aliases
exec reset
alias +jp "alias act_jp +jump; call_actions"
alias -jp "alias act_jp -jump; call_actions"
alias +fw "alias act_fw +forward; call_actions"
alias -fw "alias act_fw -forward; call_actions"
alias +bw "alias act_bw +back; call_actions"
alias -bw "alias act_bw -back; call_actions"
alias +ls "alias act_ls +left; call_actions"
alias -ls "alias act_ls -left; call_actions"
alias +rs "alias act_rs +right; call_actions"
alias -rs "alias act_rs -right; call_actions"
alias +cr "alias act_cr +duck; call_actions"
alias -cr "alias act_cr -duck; call_actions"
alias +wk "alias act_wk +sprint; call_actions"
alias -wk "alias act_wk -sprint; call_actions"
alias +a1 "alias act_a1 +attack; call_actions"
alias -a1 "alias act_a1 -attack; call_actions"
alias +a2 "alias act_a2 +attack2; call_actions"
alias -a2 "alias act_a2 -attack2; call_actions"
// binds
bind a "+ls"
bind d "+rs"
bind s "+bw"
bind w "+fw"
bind SPACE "+jp"
bind SHIFT "+wk"
bind CTRL "+cr"
bind MOUSE1 "+a1"
bind MOUSE2 "+a2"
bind MWHEELDOWN "+jp"
// call every alias that we used
act_fw
act_bw
act_ls
act_rs
act_jp
act_cr
act_wk
act_a1
act_a2
// reset aliases
exec reset
alias act_fw ""
alias act_bw ""
alias act_ls ""
alias act_rs ""
alias act_jp ""
alias act_cr ""
alias act_wk ""
alias act_a1 ""
alias act_a2 ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment