Is there a quick method of getting the connection id of any of the networks you may have joined. I have a script that is tracking nicks. In a multi-server environment, those nicks can be on different servers. So I am thinking the most logical method would be to store the network related to a specific nick. For the script to work I need to be able to have the script determine the current connection id of a stored network (since the connection id might change from connection to connection based on the users habits for restarting mIRC).

$scon(N).network tells me the network related to a specific connection. Is there a command that does the reverse, tells me the connection id of a specific network? No doubt an alias can be created to accomplish the chore, but the question is.. does mIRC already provide the information.