mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Is it possible (aside from having to track each connection) to get the connection ID or the connection number (for my purposes either one would be sufficient) by specifying the network name?

I know I can do $scid(ID).network to get the network name for the connection ID, but I'm looking for a way to do something like $scid(network).id where the network is specified and the ID returned.

I did try a search, but none of the topics returned looked correct. My apologies if I overlooked the answer to my current question.

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
//scon -a if ( $!network == QuakeNet ) echo -a $!cid

Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Thanks. Now to take that and modify it so that it'll put the information where I need it.

If need be, I'll post back here with details as to what I'm trying to do.


Link Copied to Clipboard