Description:

This is a switchable alias. When on, and you fire, as soon as you fire the pistol pops out. very useful if someone jumps out at you really close when you are sniping.
Bind +attack_button to your normal attack key (in this case mouse1).
Bind "sp_switcher" to whatever key you want to have be the switch on and off(leftarrow here).

-----
alias shoot_pist "+attack; wait; wait; -attack; slot2"
alias normal_atk "+attack"
alias -attack_button "-attack"
alias sp_on "developer 1; echo ** Pistol Switcher ON **;developer 0; alias +attack_button shoot_pist; alias sp_switcher sp_off"
alias sp_off "developer 1; echo ** Pistol Switcher OFF **; developer 0; alias +attack_button normal_atk; alias sp_switcher sp_on"
alias sp_switcher "sp_on"

bind leftarrow "sp_switcher"
sp_off
bind mouse1 +attack_button

-----

Autor skryptu: The Counter-Script Crew