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:
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:
(you can name that alias whatever you want)