To assign a command to a particular key, open console and use the command \bind.
Examples:
\bind j “buy weapon_schofield”
\bind k “buy weapon_peacemaker”
\bind F4 “say Hi!” // (will produce a chat message onscreen)
These are the names to use for weapons and other objects:
weapon_winch66
weapon_lightning
weapon_sharps
weapon_gatling
weapon_remington58
weapon_schofield
weapon_peacemaker
weapon_dynamite
weapon_molotov
weapon_knife
weapon_shotgun
weapon_sawedoff
weapon_winch97
item_boiler_plate
item_belt
ammo_bullets
ammo_cartridges
You can also put your binds in your q3config.cfg file, in this case without slash/backslash (be sure to back-up it, before editing).
Examples:
bind j “buy weapon_schofield”
bind k “buy weapon_peacemaker”
bind F4 “say Hi!”
Posted in: Smokin' Guns — Advanced