Ingame Chat question

perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: Ingame Chat question

Post by perrinoia »

Code: Select all

function onClientMessage(%client, %msg){ if(%client) $lastClientMessage = %client; return %client == 2048 || $ShowChat; }
bindCommand(keyboard, make, l, to, "$ShowChat = !$ShowChat;");
This sets the letter L as the key to toggle whether or not your config displays chat from some players or none. It does not effect whether or not you choose to ignore or mute a specific player.

If I remember correctly, the bindcommand needs to be placed in the config file with other bind commands... Might work in autoexec.cs.
Image
User avatar
KILROY
Posts: 1315
Joined: Sat Apr 05, 2014 8:59 pm
Location: Texas

Re: Ingame Chat question

Post by KILROY »

Cool! Thanks! I've got it saved to a text file and will try it out in the near future!
Post Reply