There is also the Quoteunbind command.unbind <key>
unbind
Here is how you use config/console code to defunctionalise a button://defunctionalise a button bindalias ALIAS ""bind BUTTON "ALIAS"Or do it this way:bind BUTTON ""By placing nothing between quotation marks in code you can defunctionalise a button.
//disable hear-view chat bindalias chatoff "cf1; cf2"alias cf1 "bind BUTTON chaton; set cl_chat_sound 0; set con_notifytime 0"alias cf2 "echo chat off"alias chaton "cn1; cn2"alias cn1 "bind BUTTON chatoff; set cl_chat_sound 1; set con_notifytime 3"alias cn2 "echo chat on"bind BUTTON "chatoff"Alternate 'alias cf2' line:alias cf2 "clear;echo chat off"The 'clear' command clears the console of messages.Or do it this way:set cl_chat_sound "0"set con_notifytime "0"cl_chat_sound - This is a Q2PRO command, i don't know what else it works with.Specifies sound effect to play each time chat message is received. Default value is 1.0 — don’t play chat sound1 — play normal sound (‘misc/talk.wav’)2 — play alternative sound (‘misc/talk1.wav’)con_notifytime - This is a regular Q2 command.The delay before console messages disappear from the screen. Default value is 3.0 — don't show console messagesFor the 'cl_chat_sound' command the talk1.wav file is located just below the talk.wav file in the standard Quake 2 pak0.pak in \sound\misc.For the 'con_notifytime' command if you set 'con_notifytime' to '0' you can still view the console messages by just opening up the console.