GM:ChatText
Description
Called when a message is printed to the chat box. Note, that this isn't working with player messages even though there are arguments for it.
For player messages see GM:PlayerSay and GM:OnPlayerChat
Arguments
4 string type
Chat filter type. Possible values are:
joinleave
- Player join and leave messagesnamechange
- Player name change messagesservermsg
- Server messages such as convar changesteamchange
- Team changes?chat
- (Obsolete?) Player chat? Seems to trigger when server console uses thesay
commandnone
- A fallback value