As a little note regarding the original request, If you're going to use /scid -a or /scon -a, I would recommend you also include the t1 switch, which will prevent your script from trying to mark you as away on any servers that you have a status window for, but aren't actually connected.