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" "function1,function2"

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.


For other useful information on console variables, please head back to the Console Commands Listing