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).