So, me and my friend made a code, here it is:
@echo off
Title Game Test2
color 0a
echo This is the second game test that
echo we have made/making right now...
pause >nul
cls
echo It is called GT2.
pause >nul
cls
echo What is your name?
set /p name=
set %name%==
cls
echo Hello %name%!
cls
echo What is your age?
set /p age=
set %age%==
cls
echo You are %age%...
pause >nul
cls
echo Good, now we are going to choose
echo your class.
pause >nul
cls
color 0c
echo A list will pop up to tell you what each class is.
call List.txt
pause
cls
echo Pick a class.
:class
echo Assassin(A), Barbarian(B), Mutant(M), Warrior(W):
set /p class=
if %class%==A goto A
if %class%==B goto B
if %class%==M goto M
if %class%==W goto W
:A
set CL=Assassin
goto S
:B
set CL=Barbarian
goto S
pause >nul
:M
set CL=Mutant
goto S
pause >nul
:W
set CL=Warrior
goto S
pause >nul
:S
cls
echo You are a %CL%
pause >nul
cls
echo Now we are going to choose your gender:
echo What are you?
echo Boy(B) or Girl(G):
set /p gender=
if %gender%==B goto BO
if %gender%==G goto GL
:BO
set GNDR=Boy
goto GS
:GL
set GNDR=Girl
goto GS
:GS
cls
echo You are a %GNDR%...
pause >nul
:CH
cls
echo Let's go through this information:
echo Your name is %name%(NA), you are %age%(AG) years old,
echo you are a %CL%(CL), and you are a %GNDR%(GN).
echo If any of this information is incorrect, please
echo input the key, if all information is correct please
echo input (CO):
set /p check=
if %check%==NA goto NA
if %check%==AG goto AG
if %check%==CL goto CL
if %check%==GN goto GN
if %check%==CO goto CO
:NA
cls
echo What is your name?
set /p name=
set %name%==
cls
echo Hello %name%!
pause >nul
cls
goto CH
:AG
echo What is your age?
set /p age=
set %age%==
cls
echo You are %age%...
pause >nul
cls
goto CH
:CL
echo A list will pop up to tell you what each class is.
call List.txt
pause
cls
echo Pick a class.
:class
echo Assassin(A), Barbarian(B), Mutant(M), Warrior(W):
set /p class=
if %class%==A goto A
if %class%==B goto B
if %class%==M goto M
if %class%==W goto W
:A
set CL=Assassin
goto S
:B
set CL=Barbarian
goto S
pause >nul
:M
set CL=Mutant
goto S
pause >nul
:W
set CL=Warrior
goto S
pause >nul
:S
cls
echo You are a %CL%
pause >nul
cls
goto CH
:GN
echo Now we are going to choose your gender:
echo What are you?
echo Boy(B) or Girl(G):
set /p gender=
if %gender%==B goto BO
if %gender%==G goto GL
:BO
set GNDR=Boy
goto GS
:GL
set GNDR=Girl
goto GS
:GS
cls
echo You are a %GNDR%...
pause >nul
goto CH
:CO
cls
echo All information is correct...
pause >nul
Okay, so what we want is an option to save, like when you press ctrl+s it saves all the information you put, like your name and age and stuff, in a different file, like how cookies work on online games, plz help! Also if you could help with like a case sensitive thing, so when you choose A or B you type in your choice and press enter, but it wont let you type a or b because its not capitalized, any and all help will be greatly appriciated! THNX!
@echo off
Title Game Test2
color 0a
echo This is the second game test that
echo we have made/making right now...
pause >nul
cls
echo It is called GT2.
pause >nul
cls
echo What is your name?
set /p name=
set %name%==
cls
echo Hello %name%!
cls
echo What is your age?
set /p age=
set %age%==
cls
echo You are %age%...
pause >nul
cls
echo Good, now we are going to choose
echo your class.
pause >nul
cls
color 0c
echo A list will pop up to tell you what each class is.
call List.txt
pause
cls
echo Pick a class.
:class
echo Assassin(A), Barbarian(B), Mutant(M), Warrior(W):
set /p class=
if %class%==A goto A
if %class%==B goto B
if %class%==M goto M
if %class%==W goto W
:A
set CL=Assassin
goto S
:B
set CL=Barbarian
goto S
pause >nul
:M
set CL=Mutant
goto S
pause >nul
:W
set CL=Warrior
goto S
pause >nul
:S
cls
echo You are a %CL%
pause >nul
cls
echo Now we are going to choose your gender:
echo What are you?
echo Boy(B) or Girl(G):
set /p gender=
if %gender%==B goto BO
if %gender%==G goto GL
:BO
set GNDR=Boy
goto GS
:GL
set GNDR=Girl
goto GS
:GS
cls
echo You are a %GNDR%...
pause >nul
:CH
cls
echo Let's go through this information:
echo Your name is %name%(NA), you are %age%(AG) years old,
echo you are a %CL%(CL), and you are a %GNDR%(GN).
echo If any of this information is incorrect, please
echo input the key, if all information is correct please
echo input (CO):
set /p check=
if %check%==NA goto NA
if %check%==AG goto AG
if %check%==CL goto CL
if %check%==GN goto GN
if %check%==CO goto CO
:NA
cls
echo What is your name?
set /p name=
set %name%==
cls
echo Hello %name%!
pause >nul
cls
goto CH
:AG
echo What is your age?
set /p age=
set %age%==
cls
echo You are %age%...
pause >nul
cls
goto CH
:CL
echo A list will pop up to tell you what each class is.
call List.txt
pause
cls
echo Pick a class.
:class
echo Assassin(A), Barbarian(B), Mutant(M), Warrior(W):
set /p class=
if %class%==A goto A
if %class%==B goto B
if %class%==M goto M
if %class%==W goto W
:A
set CL=Assassin
goto S
:B
set CL=Barbarian
goto S
pause >nul
:M
set CL=Mutant
goto S
pause >nul
:W
set CL=Warrior
goto S
pause >nul
:S
cls
echo You are a %CL%
pause >nul
cls
goto CH
:GN
echo Now we are going to choose your gender:
echo What are you?
echo Boy(B) or Girl(G):
set /p gender=
if %gender%==B goto BO
if %gender%==G goto GL
:BO
set GNDR=Boy
goto GS
:GL
set GNDR=Girl
goto GS
:GS
cls
echo You are a %GNDR%...
pause >nul
goto CH
:CO
cls
echo All information is correct...
pause >nul
Okay, so what we want is an option to save, like when you press ctrl+s it saves all the information you put, like your name and age and stuff, in a different file, like how cookies work on online games, plz help! Also if you could help with like a case sensitive thing, so when you choose A or B you type in your choice and press enter, but it wont let you type a or b because its not capitalized, any and all help will be greatly appriciated! THNX!
