How to combine buy binds with key bindings

counter-strike-global-offensive

Unified buy binds, for example binding D to buy defuser and S to buy smoke improve the flow of game as I don't have to open the buy menu in the first place. Unfortunately creating a bind unbinds the respective key bind.

I have tried creating an alias, but this results in the same outcome:

alias "+movesmoke" "+back; buy smokegrenade"
alias -movesmoke -back
bind s +movesmoke

Best Answer

I don't recommend using the main movement keys to buy something. You might cause the spam filter to trigger (too many commands in a short amount of time), which will block further commands for some time.

What you're asking for is:
bind S "+back; buy smokegrenade"

...but a better solution is using unused keys, like the numpad or some F-keys. You can even buy a complete loadout within seconds. That's how I do it.

For example:

bind KP_INS "buy vesthelm;buy vest"
bind KP_DEL "buy defuser"
bind KP_ENTER "buy smokegrenade"
bind KP_PLUS "buy hegrenade;buy incgrenade;buy molotov"
bind KP_MINUS "buy flashbang"

This will let you buy your equipment without any problems. 0 buys armor, , buys a defuser and the right sided keys all grenades. You can extend this by using the numbers to buy specific weapons or even a donation button: bind KP_5 "buy m4a1;buy ak47;drop" (this buys a rifle and drops it right away).^

Edit:

Combining a "+something" command with other stuff seems to cause unexpected behavior. You can avoid this by using an alias. I have successfully tested this one:

alias +mvgren "+back; buy smokegrenade"
alias -mvgren "-back"
bind s "+mvgren"

(you can name that alias whatever you want)