I believe it has to do with RunConsoleCommand putting quotes around each argument. The connect command functions really weird, where you can't have quotes around the whole thing and you cannot have any additional spaces (or arguments) in the command either. It just has to be connect ip:port with nothing extra.