mIRC Home    About    Download    Register    News    Help

Print Thread
#11837 18/02/03 03:56 AM
Joined: Feb 2003
Posts: 3
N
null Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Feb 2003
Posts: 3
What exactly does $scid and $scon do differently from each other? Can I get a script example? confused

#11838 18/02/03 08:00 AM
Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
$scon and /scon refer to the Nth connection.

$scid and /scid refer to the connection ID. The connection ID increases every time you open a new server window. Connection ID's do not get reused.

For example:
You open up mIRC. The first status window has a connection ID of 1.
You open up a new server (status window) by using /server -m or /server -n. That has a CID of 2
You open up a third server window. That has a CID of 3.
You close the 2nd. The remaining CIDs will be 1 & 3. $scon(1) will refer to CID 1 but $scon(2) will refer to CID 3 because it is the 2nd of the remaining server windows.


Link Copied to Clipboard