Code:
if (!cmd_access(id, level, cid, 2))
{
client_print(id, print_chat, "%s You have no access to tha command.")
return PLUGIN_HANDLED
}
With this, if someone don't have the ACCESS and don't send the second parameter, the say is blocked, so that is wrong. You have to check first if the first paramter is ".kick"
Code:
new args[32]
read_args(args, charsmax(args))
new target = cmd_target(id, args, CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ALLOW_SELF)
With read_args( ) you are getting a line of all arguments (all the message said by player).
You can't use cmd_target( ) for that.
__________________