I use scid to make the connection the active one. For instance let's say the user is connected to 5 different networks and is currently chatting on the 3rd network. If I use the command /window -c "Status Window", I want to be 100% sure it will close the correct connection.
You know, I wonder if I should /disconnect before closing the status window. I wonder if because I close the connection by closing the window, does it give mIRC a better chance of not deleting the connection.
Argv0, I didn't include the rest of the code as it wasn't relevant to the topic. I was showing the use of scid in my events.
I have checked timers and have none going.