this looks incomplete. parm2 alias is missing, also, the else event makes no check whether you are already joined in the predefined channel first. lastly, /server alone will only succeed in reconnecting to same server (in my case it does at least, since that\'s how I configured my mirc to not rotate servers).