Thank you. You were really fast smile.

I went througt the mIRC manual with /scon in my mind and came up with this myself:
Code:
 F12 {
  %yhteys = $scon(0)
  while (%yhteys > 0) {
    scon %yhteys {
      %i = $window(*,0)
      while (%i > 0) {
        if ($count($window(*,%i),$chr(32)) > 0) && ($window(*,%i).state != minimized) window -n " $+ $window(*,%i) $+ "
        else if ($window(*,%i).state != minimized) { window -n $window(*,%i) }
        dec %i
      }
    }
    dec %yhteys
  }
}

I found that tidy_trax's "scon -a" sometimes causes problems with $active identifier so dropped the idea of using $active.

Last edited by Derethil; 17/03/04 07:29 PM.