Something like this..
Code:
#include <amxmodx>
public plugin_init() {
// ..
register_clcmd("say","handle_say")
register_clcmd("say_team","handle_say")
}
public handle_say(id) {
new message[298]
read_args(message,297)
remove_quotes(message)
if(containi(message,"hello")) {
client_print(id,print_chat,"You said hello!")
}
return PLUGIN_CONTINUE
}
Edited*
__________________