Just check for certain words in client_command. Use read_argv(0, and read_args to retrieve full command line, then replace what needed with replace_all, then send modified command with client_cmd and block original with return PLUGIN_HANDLED. If you've changed say text, this shouldn't be a problem for you.