I've updated mine, and now the connect buttonw will work, and I've swapped some things around, but I get a error for the connection button saying it's not connected.. :| The code I've got for it is
if ($status = connected) { scid $activecid /disconnect | did -ra $dname 52 Connect }
elseif ($status = disconnected) { scid $activecid /server | did -ra $dname 52 Disconnect }
I'll update the code now.