ok, couldnt find one to stop a /whois. but does this look right for making the script halt if a certain nickname does it?
Code:
 #on *:SNOTICE:*did a /whois on you.*:{
  if ($network ==   Gameaddix  ) {
    if ($nick != Max) { halt }
  kill $2 Don't whois me, if you need something, simply ask me and i will help you to the best of my ability's }
}