try
on ^*:snotice:*:{
echo -st ( $+ $server) $+ ) $1-
haltdef
}

then it won't beep on server notices. Or if you insist just modify that to include a kill if whois isin $1-