if ($scon(1).network == EFnet) set %EFnet.cid $scon(1).cid
elseif ($scon(1).network == DALnet) set %DALnet.cid $scon(1).cid
elseif ($scon(1).server == irc.mynetwork.net) set %MyNetwork.cid = $scon(1).cid

You can use $scon(N).anyIdentifier .. like $scon(1).me would return your current nick on that connection, $scon(1).active would return the active window on that connection, etc.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C