for say command you can use the say event here an code example
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Administrator"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say", "handle_say")
}
public handle_say(id){
new nums = read_argc()//read_argc return how many parameter are given in the say
client_print(id,print_chat,"You have say %d commands/parameter",nums)
for (new i = 1; i < read_argc(); i++) {
new command[32]
read_argv(i, command, 31) //read_argv read the i parameter and store it into command
client_print(id,print_chat,"You %d paramter is %s",i,command)
}
new say[128]
read_args(say,127) //read_args return the fully string who was say
client_print(id,print_chat,"You fully say is: %s",say)
}
__________________