Would this work (separate lines for readability)?
on ^*:snotice:*whois on you: {
if !$window(@whois) { window -n @whois }
echo 9 -t @whois $1- | beep | haltdef
}
It SEEMS like the way & & & in the matchtext just doesnt wanna work is all. Also, do you NEED all that info there? I mean I do a LOT of snotices and services related scripts and I hack the msg up to shorten the matchtext and RARELY run into issue