Code:
on ^*:NOTICE:*:*: {
  if ($target ischan) { scid $cid echo -t $chan - $+ $nick $+ : $chan $+ - $1- | halt }
  if ($query($nick)) { scid $cid echo -t $nick - $+ $nick $+ - $1- | halt }
  else { scid $cid echo -t $comchan($nick,1) - $+ $nick $+ - $1- | halt }
}


This will display channel notices in the channel, private notices will either be displayed in the query window or the first common channel if a query window isn't available. Just modify the code the way you want it.