/chat-processor

A Sourcemod plugin which allows other plugins to add and manage chat related features.

Primary LanguageSourcePawnGNU General Public License v3.0GPL-3.0

Chat-Processor

A Sourcemod plugin which allows other plugins to add and manage chat related features.

Installation

Place the .smx into the plugins folder and the .cfg into the configs folder.

Usage

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;
}

Contributing

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.

License

GPL-3.0