Xchat::hook_print('Channel Message', sub { return Xchat::EAT_ALL if ($_[0][1] =~ /evilnick/i); });