@leandro442, 1st post doesn't describe the plugin's appointment in full !
Code:
...
AddCommandListener(block, "status");
AddCommandListener(block, "ping");
AddCommandListener(block, "stats");
}
public Action block(int client, const char[] command, int args)
{
return Plugin_Handled;
}
This should be mentioned! Because it may cause conflicting with other plugins.
"status" method sometimes used for OS detection.
There is no hardcoded /! symbols in SM. It is controlled by configs/core.cfg => "PublicChatTrigger", "SilentChatTrigger" values.
#include <cstrike> is not necessary.
Plugin returns incorrect info when the following command has entered in chat: !sm_admin
Alternate plugin:
[ANY] !COMMAND eater
__________________