Hello, I'm trying to make a plugin very similar to this Rank Chat prefix thing but I appear to have a conflict with the REGEX Word Filter plugin that I use for moderation purposes
https://forums.alliedmods.net/showthread.php?t=71867
By registering the "say" and "say_team" commands to add prefixes on chat messages, it bypasses any filter I have added with the REGEX Word Filter plugin.
Is it possible to make the two plugins work without conflict?
Edit: Nvm I've found a solution by simply adding words and phrases within the Prefix plugin.
PHP Code:
if (client != 0 && (StrEqual(command, "say") || StrEqual(command, "say_team")))
{
//Filters
if (StrEqual(sArgs, "/") ||
StrEqual(sArgs, "bad word") ||
StrEqual(sArgs, "bad word") ||
StrEqual(sArgs, "etc"))
{
return Plugin_Handled;
}