You can use a Remote Event to handle this.

Suggested reading:
/help Halting default text
/help on text

A basic example would be
Code:
on ^*:TEXT:*:#CHANNEL:{ if ($nick != NICKNAME) { haltdef } }


Replacing #CHANNEL and NICKNAME as appropriate for your needs.