Code:
public plugin_init() {
register_clcmd("say", "handle_say");
}
public handle_say(id)
{
new arg[32]
read_argv(2,arg,31)
new tag[64]
read_args(tag,63)
if( containi(tag, "!test") != -1 )
{
client_print(id, print_chat, "[AMXX] %s", arg);
}
}
i want to get the words when people type !test helo
it's show "[AMXX] helo" right
i'm tried it's work if type "say !test helo" in console
can't work if press Y to type "!test helo"
how can fix it?