The console access needs to be tuned on. Look in the options tabs for your game and you should find a check box to select. Then go to your keyboard commands and select the key for the console. Most people I know use the apostraphe (`).
bind "`" "toggleconsole" should show up on your configuration file.
You should use the Tech Help forum for these questions.
The bind for medic looks like this:
bind "z" "say !medic"
Don't forget the exclamation mark!
)