Hmm, sorry but if someone had the nickname whois, or if whois was in their ident/realname this would trigger. :x
(15:31:33) -irc.*.net- *** CONNECT: Client connecting on port 6667: whois123!swhois@randommadeuphost.lie [1.2.3.4] [I am whoising you!]
Maybe do:
on *:SNOTICE:*whois on you*: {
also consider adding sometype of flood protection because it would be annoying if someone whois flooded you and you get that message echod to you each time :x
so maybe do
on *:SNOTICE:*whois on you*: {
if (!%x) { set -u10 %x on
echo -a [ALERT] $2 ( $address($2,2) ) did a whois on you!
inc %now
NOTICE $2 11,1Y15es 11,1 $2 $+ , 11,1I6,1'15,1m an 11,1IRC15,1op6,1. 11,1I15,1s there something 11,1I 15,1can help you with6,1? 11,1A15,1nd you just took my whois count up to 11 %now 6,1, 15,1maybe i am popular after all6,1!
}
}
Another thing, alot of people will tell you that when somebody whois's you they don't want to actually speak to you, so when they do whois you and get that message, you might piss them off.