diff --git a/Silver Project b/Client.bat similarity index 68% rename from Silver Project rename to Client.bat index abb744b..2c925b6 100644 --- a/Silver Project +++ b/Client.bat @@ -1,5 +1,7 @@ @echo off -if not exist username.txt goto username +if not exist username.bat goto username + +call username.bat REM Drawing the main screen code here lol :home echo. @@ -14,15 +16,20 @@ echo. set /p input=Input: if %input% == 1 goto error -if %input% == 2 goto connect +if %input% == 2 goto error if %input% == 3 goto error if %input% == 4 goto error +rem "ERROR" is placeholder for features. -REM :error is a placeholder - -:connect -echo %username%>>send.txt +:username +cls +echo. +echo Type in your username. +echo. +set /p username=Username: +del username.bat +echo set /a Username=%username% >>username.bat