Here is a script working like mIRC defaults.
- If $chan exists, display in this channel window
- else display in every channel that user is on
- else display in status window

Code:
on ^*:NOTICE:*:*:{
  if ($chan) /echo -t $chan $1-
  else {
    var %tot = $comchan($nick,0), %i = 1
    if (%tot == 0) echo -ts $1-
    else {
      while (%i <= %tot) {
        echo -t $comchan($nick,%i) $1-
        inc %i
      }
    }
  }
  haltdef
}


Don't forget to insert your text style in the "/echo" commands