Here's a code using $ial

Code:
alias cc {
  var %i = $ial(*,0), %w = @comchans
  window %w
  while %i {
    if ( $ial(*,%i).nick != $me ) && ( $comchan($ial(*,%i).nick,0) > 1 ) aline %w $ial(*,%i).nick - $v1 comchans
    dec %i
  }
  filter -wwtcue 3 32 %w %w 
}


Usage: /cc

Another that will loop to all connections, channels, nicks & will distinguish to which connection that nick was

Code:
alias cc2 {
  var %s = $scon(0), %c, %n, %m, %w = @comchans
  window %w
  while %s {
    scon %s
    %c = $chan(0)
    while %c {
      %n = $nick($chan(%c),0)
      while %n {
        %m = $nick($chan(%c),%n) 
        if ( %m != $me ) && ( !$fline(%w,$network $+ : %m *,0) ) && ( $comchan(%m,0) > 1  ) aline %w $network $+ : %m - $v1 comchans
        dec %n
      }
      dec %c
    }
    dec %s
  }
  filter -wwtcue 4 32 %w %w 
}

Usage: /cc2

Last edited by xDaeMoN; 02/06/07 07:31 AM.

If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!