You cannot put the command in the match section of an input event. You must use the
Quote:
on *:input:#: {
if ($1 == !bash) {
msg $chan $nick bashes $$2 with a 4Sledge hammer.
}
}