NB! It seems this console command is not compatible with CS2.
Command Profile
BINDTOGGLE
CS:GO
This command assigns a hotkey (key on your keyboard, or button on your mouse) to switch through the various values a specified console command has (when pressed or clicked). This is useful for setting up binds that toggle a certain feature. For example,"voice_enable" would be toggled between 0 and 1 (disabled and enabled).
Syntax
BindToggle [Bind Key] ["Bind Command"]
Description
This command assigns a hotkey (key on your keyboard, or button on your mouse) to switch through the various values a specified console command has (when pressed or clicked). This is useful for setting up binds that toggle a certain feature. For example,"voice_enable" would be toggled between 0 and 1 (disabled and enabled).
Syntax And Arguments
BindToggle [Bind Key] ["Bind Command"]
| Bind Key | This is the key you want to assign your bind toggle command to. |
| "Bind Command" | The console command you want to assign to the hotkey. Be sure to enter it without any numbers/values after it. |