/Toggle-Chat

Turn on and off the game chat.

Versions

There are 3 different versions of the script.

Version Description
One Key Uses only one key to toggle the chat
Two Keys Uses two keys to toggle on and off the chat
Voice Uses only one key to swap modes and has an additional mode to turn off voice chat

Installation

If you do not have a file called autoexec.cfg, make a new file called autoexec.cfg and place it into your TF2 directory. See below for information on how to do this.

Toggle Key

Replace the key in bind KEY with whatever key you would like to turn on and off the chat.


Creating autoexec.cfg: (only if you do not have autoexec.cfg in your TF2 Directory)

  1. Open Notepad
  2. File > Save As...
  3. Under File Name type in autoexec.cfg
  4. Below it there is Save as Type and it should say Text Documents (*.txt). Click it and choose All Files and save it into your TF2 directory.

TF2 Directory Location

For 32-bit PCs

C:\Program Files\Steam\SteamApps\common\Team Fortress 2\tf\cfg

For 64-bit PCs

C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\cfg

Gamebanana

http://tf2.gamebanana.com/scripts/8449