Chat-Processor icon indicating copy to clipboard operation
Chat-Processor copied to clipboard

it repeats the message

Open Sarthak001 opened this issue 4 years ago • 2 comments

after installing the chat processor. i noticed one bug (game : CS:GO) when i use !say message (sm_say message) the sm command works but the same thing gets broadcast to all players. i am attaching a screenshot https://imgur.com/a/IgIV5ZE

Sarthak001 avatar Jun 15 '20 14:06 Sarthak001

As far as I know this is normal CSGO behavior if you use the sm_say command in direct chat, !say Test it sends your message and the message you used.

I remind you that SourceMod has shortcuts for these chat commands, instead of using the !say command and your message, put @ before the message in the normal chat, if you have the necessary privileges it already sends the message directly.

Example, open your chat as normal and type @ test message sending by sm_say

crashzk avatar Aug 18 '20 21:08 crashzk

~~Definitely a sourcemod behavior~~ use can either start your message with a @ to broadcast a message (make sure to send the message in public chat since in the team chat you'll send a message for only the admins) or otherwise just use the / instead of ! (that will work for any command)

EDIT: This actually might be something wrong with the chat processor in the following code sourcemod attemps to block the sending of !say in the chat might chat-processor resends it ignoring the fact the sm tried to cancel that.

https://github.com/alliedmodders/sourcemod/blob/47514c7708f2c753bca148953ad4e3a24d09085f/plugins/basechat.sp#L101

Hexer10 avatar Aug 19 '20 08:08 Hexer10