/scid or /scon are not statement that use { }, they just change the active connection used during the script, remove these {} from /scid in the first code and try


#mircscripting @ irc.swiftirc.net == the best mIRC help channel