To have Notices of Chanserv Nickserv Memoserv passing the script untouched (no "themed" echo), use this on notice event instead of the one in the code above:
Code:
on &^*:notice:*:?: { 
  if (!$istok(Chanserv Nickserv Memoserv,$nick,32)) { 
    var %w = $+(@,notice.,$nick) 
    window $iif($window(%w),-a,-e) %w
    echo %w $theme.notice($nick,$1-) 
    haltdef
  } 
}


And if you want all notices of all nicks passing the script unchanged, as long as you did not open a notice window yourself, use this on notice event instead:
Code:
on &^*:notice:*:?: { 
  if ($window($+(@notice.,$nick))) { 
    window -a $v1
    echo $v1 $theme.notice($nick,$1-) 
    haltdef
  } 
} 


To open/close the notice window for a nick via popups (right-click on the nick in a channel/nicklist), add this to your code:
Code:
menu nicklist {
  $iif(($window($+(@notice.,$$1))),Close,Open) Notice window with $$1 : window $iif(($window($+(@notice.,$$1))),-c,-e) $+(@notice.,$$1)
}