Hm, here's a custom identifier that uses the -tN switch of /scon
; $connectedcount = N of server windows with status "connected".
alias connectedcount {
var %n = 0
scon -at1 inc % $+ n
return %n
}
Note: "loggingon" counts to "connected". if that's a problem:
alias connectedcount {
var %n = 0
scon -a if ($status == connected) inc % $+ n
return %n
}