View Single Post
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 10-14-2019 , 02:52   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #26

Quote:
Originally Posted by RaZ_HU View Post
Feature request: add a file where we can list phrases to be ignored.

Also please ignore messages starting with " / " (commands) and whitespace:
Code:
public handleSay(id)
{
	new sMessage[MAX_COMMAND_LENGTH];
	read_argv(1, sMessage, charsmax(sMessage));

	if (strlen(sMessage) == 0 || sMessage[0] == '/' || sMessage[0] == ' ')
	{
		return PLUGIN_CONTINUE;
	}
Plugins and the relay bot are both awesome, thank you guys.

Edit:
@endnch I have changed your SMA code to support exclusive list, if needed I can send it to you and check it (I am sure there are stuff that could be done better in it).
Those already can be done on the server-side: https://rumblefrog.me/source-chat-relay/filters
__________________
RumbleFrog is offline