Using mIRC 6.14 on XP Pro
Not sure if this is a mIRC bug or lack of understanding on my part.

I am on 2 irc servers, and when i set away i get " * No such connection id: 2"

The aim is to cycle through the current connections and set away on each, but

Code:
//echo -s $scon(0) 
2 


the first connection is rightly mumbered 1
Code:
 //echo -s $cid
1  


Now if i switch to the only other connection, it says 3?
Code:
 //echo -s $cid
3


Since i have not been on a 3rd connection since starting mIRC i'd expect the 2nd connection to be 2 not 3?

Anyone know of a way to handle this? I cant loop for 1 to $scon(0) as that tries to switch to connection 2 which doesnt exist, instead of connection 3 confused