Set a variable if you want the notice sent, unset if you don't
Code:
  .Enabled:set %whoisnotice 1 | enable #whoisnotice
  .Enabled (no /notice):unset %whoisnotice | enable #whoisnotice
and check for it in the event.
Code:
    if (%whoisnotice) NOTICE $2 12 You're Whois on me was successful: 4I'm an IRCops can I help you? 12[Thank you for the interrest]