I got some advice for you, since I just made this stuff
probably, you'll want all commands to start with "/"
you should make one plugin that handles all chat commands, and do something like:
register commands normally, register_clcmd("say /hello")
after registering all commands, register_clcmd("say", "stop_say")
PHP Code:
public stop_say(id)
{
new message[129];
read_argv(1,message,128);
if (message[0]==47) return PLUGIN_HANDLED; // 47 = ascii value for "/"
return PLUGIN_CONTINUE
}
This will stop everything beginning with / from being printed, but, will also stop other plugins below this plugin in plugins.ini from using slash commands. You also wanna sure you don't have other plugins above this one that handle messages (green admin names, ghostchat or whatever) basically any plugin that cancels default cstrike chat and prints messages manually by MSG_ALL
__________________