mIRC Home    About    Download    Register    News    Help

Print Thread
Getting the connection ID or connection number #207335 14/12/08 01:48 AM
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.

Re: Getting the connection ID or connection number [Re: RusselB] #207336 14/12/08 01:58 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
//scon -a if ( $!network == QuakeNet ) echo -a $!cid

Re: Getting the connection ID or connection number [Re: Collective] #207337 14/12/08 02:46 AM
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.