each new connection gets a unique new cid
The first (quakenet)= 1
the 2nd (undernet) = 2
the third (EFnet) = 3

if we close the Undernet connection and open a new one to Rizon, Rizon is 4.
QuakeNet = 1
EFnet = 3
Rizon = 4

As you can see if we'd loop trough $scid it would fail since theres no $scid(2). cid is ALWAYS unique so having named connections defeats its purpose.

scon is a method to reference all the open connections
$scon(0) returns total connections
$scon(1) returns the first connection (even if the $cid > 1)

If you follow the following rules then addressing the wrong/an invalid connection is less likely to happen:

If you want to dynamicly reference all the open servers use SCON.
if you need to store information with a connection id as a reference use SCID.

You can check if a connection is to a certain server with
$scon(N).network
$scon(N).server


$maybe