Just do it in the PreCommand Event and cancel it, so you can handle a command without the Server noticing it.