mIRC Home    About    Download    Register    News    Help

Print Thread
#140882 31/01/06 05:00 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I already know that $scid & $scon are similar to what I'm referring to here, but specifically what I'm suggesting is, either a new identifier or an amendment to one (or both) of these two. The amendment would allow a person to get a count on the number of status windows that have a specific connection level (ie: connected, not connected, connecting, or disconnecting)

#140883 31/01/06 08:09 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
This would be extremely easy to make:

alias con var %i = 0 | scon $+(-at,$1 inc %,i) | return %i

$con(<number>) as it is used with scon:

1 = server connected, 2 = not connected, 4 = connecting, 8 = not connecting

This number is a bitmask, so you can specify fex 3 (= 1 + 2)


Gone.

Link Copied to Clipboard