A Sourcemod plugin which allows other plugins to add and manage chat related features.
🍴 This is a fork of Drixevel's Chat Processor that uses MultiColors instead of ColorVariables. Use it if you're having issues with the original.
Place the .smx into the plugins folder and the .cfg into the configs folder.
public Action CP_OnChatMessage(int& author, ArrayList recipients, char[] flagstring, char[] name, char[] message, bool& processcolors, bool& removecolors)
{
Format(name, MAXLENGTH_NAME, "{red}%s", name);
Format(message, MAXLENGTH_MESSAGE, "{blue}%s", message);
return Plugin_Changed;
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.