C'est très simple, tout se fait selon le principe suivant :
bind "touche" "action"
touche étant la touche assignée à l'action et action étant l'action elle-même.
Par exemple, si tu veux qu'un zombie apparraisse quand tu appuie sur M, tu dois taper dans la console :
bind "M" "npc_create npc_zombie"
Évidemment, ça marche avec toutes les autres commandes.