Bind

From Valve Developer Community
Jump to navigation Jump to search

This is a console command that lets you bind other console commands to a key.


Syntax: bind key "c1;c2;..."

Template:Ccexample

Template:Ccexample

Quotation marks around strings are not always required, but should be used to ensure that special characters, such as spaces and semicolons, are not misinterpreted. For number-only strings, quotation marks should not be used.

Special Keys

Key Name
mwheelup Mouse wheel up
mwheeldown Mouse wheel down
mouse1 Left click
mouse2 Right click
mouse3 Middle click
mouse4 4th click
mouse5 5th click

See Also

Console Command List