raw 311:*:echo -sc whois $2 is $3 $+ @ $+ $4- | halt
raw 319:*:echo -sc whois $2 on $3- | halt
raw 307:*:echo -sc whois $2 is a registered nick | halt
raw 312:*:echo -sc whois $2 using $3- | halt
raw 317:*:echo -sc whois $2 has been idle $duration($3), signed on $asctime($4) | halt
raw 318:*:echo -sc whois $2- | halt

There is likely others, depending on the IRCd. If so, you can grab their numbers and and formats from /debug -p @debug.