Code:
 on *:snotice:*did a /whois on you*:{
  $iif(!$($+(%,whois,.,$2),2),set $+(%,whois,.,$2) 1,.inc $+(%,whois,.,$2))
  if $($+(%,whois,.,$2),2) > 4 {
    kill $1 Don't /whois me that many times
  }
}
on *:snotice:*client exiting*:{
unset $+(%,whois,.,$6)
}
 


What do you think about that alternative, DaveC?