i havent really tried to say keep the dll loaded and retrieve the cid at various other times.

However im almost certain it may be an issue in the mapped file. I believe when mIRC evaluates the $cid from the mapped file it just uses whatever happenes to be the active (or last active) connection. However it should work /scid 2 dll .. should first change the connection then call the dll. Wich means 2 would be the active connection as for all of the other script (such as echo from above).


Have Fun smile