HandleSay and stuff
I know how to do the HandleSay with containi statements, but not equali statements. The whole chat system isn't functioning now!
Code:
public HandleSay(id)
{
new Speech[192];
read_args(Speech,191)
remove_quotes(Speech)
if(equali(Speech, "/Test"))
{
client_print(id,print_chat, "[Gaben] Testage.");
return PLUGIN_HANDLED;
}
return PLUGIN_HANDLED;
}
I've also tried
Code:
if(equali(Speech, "/test") != -1)
But all that does is make anything you say, do that function... The chat system is still defiled anyhow.
Edit: There are no errors what so ever.
|