You would need to loop throught he connections.
example: /sc_chk
alias sc_chk {
var %sc = 1
while ($scon(%sc)) {
if ($scon(%sc).status = connected) echo -s $scon(%sc).mnick is connected to $scon(%sc).network on connection %sc .
inc %sc
}
}
Sorry I just realized that isnt your request.
example: /sc_chk
alias sc_chk {
var %sc = 1, %sx
while ($scon(%sc)) {
if ($scon(%sc).status = connected) inc %sx
inc %sc
}
echo -a %sx of your $scon(0) connections are connected.
}