Nimue, your suggestion works.
I looks at the help which comes with mIRC, but it doesn't explains much about SCON, and I need to understand it better, so I could intergrate it in the script in a better way, and maybe use it with other functions.

Do you know where I can get help or docs about this command?