It's really simple actually. The format is:
/bind key command
If you wanted quit the game from the f12 key, you'd type (in the console, shift+tilde):
/bind f12 quit
You can have one key do multiple commands as well:
/bind f12 "say Bye!; disconnect; quit"
You can also compress these three (or any) commands into one 'Alias' like this:
/seta Bye "say Bye!; disconnect; quit"
bind f12 "vstr Bye"
The VSTR command above means "execute contents of a variable". The operation 'seta bye...' places everything inside of the quotation marks " into that variable, 'Bye'.
Hope this helps
[DJedi]Phr00t [JAT]: Your friendly neighborhood jedi trainer.