jng=JoinNetGame("game","127.0.0.1") If Not jng Then HostNetGame("game") DebugLog "server" Else DebugLog "client" EndIf