Below's a suggestion only smile
You may want to separate the who-replies for different channels and connections with e.g. a dynamic variable.

Code:
; who reply
RAW 352:*:{
  ; the user is on any channel (if you /who a channel, $2 will be this channel's name)
  if ($left($2,1) isincs $chantypes) {
    ; if the reply contains the *-char in "modes", and the "nick"-token does not match *serv
    if (* isin $7) && (*serv !iswm $6) {
      ; add this nick to a dynamic variable named "%ircops<connectionID><channel>"
      ; this variable will unset after 20 seconds or on mIRC exit
      set -eu20 $+(%,ircops,$cid,$2) $addtok( $($+(%,ircops,$cid,$2),2) ,$6,32)
    }
    haltdef
  }
}

; end of who
RAW 315:*:{
  ; you who'd a channel
  if ($left($2,1) isincs $chantypes) {
    ; echo to the channel window the content of the dynamic variable (or "none", if the variable has no content)
    echo $2 4,0Ircops $2 $+ : $iif( $($+(%,ircops,$cid,$2),2) ,$v1,none)
    unset $+(%,ircops,$cid,$2)
    haltdef
  }
}

Last edited by Horstl; 17/01/10 02:50 PM.