When you have the correct and incorrect need to put a colon before those in order to have a go to that's why it's crashing whenever you put in the number it's because it doesn't understand what to do when you input a number

i know how to do that! what you need to do is type 'set [name*]=' once they type in something, to get their answer to turn up somewhere else in the game (or quiz, whatever you're making) type %name*% in the text. your welcome!

:Options/Info cls echo============================ echo The Quiz Game, is a game of IQ. echo This game will ask you a variety of questions, echo some may be hard and some may be easy, echo but thats for You to find out echo============================ echo choose a Menu Colour echo colours=0a,Light Green/ 0b,Light Aqua/ 0c,Light Red/ 0d,Light purple/ echo 0e,Light Yellow/ 0f,White set /p color= %color%

i need help with the goto game and inst. It always take me to :inst even if I type 2. here is my game. @echo off title GAME color 0a echo. echo. pause>nul cls echo. set /p name= Enter your name echo. pause>nul cls echo MENU echo Press a number and press enter. :main echo 1--start game echo 2--how to play echo 3--exit set /p n=enter number if%n%==1 goto game if%n%==2 goto inst if%n%==3 goto end :inst cls echo. echo press a number and confirm your selection with enter echo. echo. echo. pause>nul goto main :game cls echo. echo %name%, you are lost in the forest after hunting, you only have three matches, a shotgun with ten bullets, a rifle with five bullets and a gun with 9 bullets. echo. echo You have managed to make a fire. pause>nul :end flag[delete]

i need help with the goto game and inst. It always take me to :inst even if I type 2. here is my game. @echo off title GAME color 0a echo. echo. pause>nul cls echo. set /p name= Enter your name echo. pause>nul cls echo MENU echo Press a number and press enter. :main echo 1--start game echo 2--how to play echo 3--exit set /p n=enter number if%n%==1 goto game if%n%==2 goto inst if%n%==3 goto end :inst cls echo. echo press a number and confirm your selection with enter echo. echo. echo. pause>nul goto main :game cls echo. echo %name%, you are lost in the forest after hunting, you only have three matches, a shotgun with ten bullets, a rifle with five bullets and a gun with 9 bullets. echo. echo You have managed to make a fire. pause>nul :end

Wow. There were some tweaks you could have mentioned. But otherwise a good tut. Heres what I made using this: @echo off color 04 TITLE DEATH echo Hello friend! pause>nul echo. echo. echo. echo. echo Welcome to The End of The Line. echo. echo. echo. pause>nul cls :menu1 echo. echo How would you like to die? echo. echo 1 Chainsaw echo 2 Acid echo 3 Compactor set/p howdie=CHOOSE if %howdie%==1 goto die1 if %howdie%==2 goto die2 if %howdie%==3 goto die3 :die1 cls echo A Chainsaw flies at your face. echo It is held by a mysterious stranger. echo He snickers at you as he cuts your torso in echo half with the speed and precision of a surgeon. echo You now lay lifeless on the cold cement. echo. pause goto menu1 :die2 cls echo You are held in place with staps on your arms and legs. echo You watch the executioner as he carries a strange vile over to you. echo Suddenly you realize what he is about to do. echo As he pours the acid on your thigh, working his way up echo drip, by drip, by drip. echo. echo He splashes the remainder of the acid into your face echo and watches as you scream in agony. echo. pause goto menu1 :die3 cls echo You awake in a dark room. echo You can hardly see your hands in front of your face. echo. echo Suddenly, you hear the loud roar of an electric motor. echo The lights cut on. echo You see two cold, steel panels that reach down the entire corridor. echo. echo You are confused. echo The roar of the motor gets louder and you hear the echo low-pitch hum from a machine. echo. echo You now understand what's going on. echo The two steel panels come closer together; echo the hum of the motor becoming louder as the walls contract. echo. echo As you feel the cold steel make contact with your arms, echo you know this is the end. echo. echo The walls push together and you scream in agony echo as your ribs break one by one. echo. echo The walls stay together, only letting the blood from echo your flattened corpse drip to the bare floor. echo. pause goto menu1 feel free to use this guys, just remember that I made it ^_~

Wow. There were some tweaks you could have mentioned. But otherwise a good tut. Heres what I made using this:

@echo off color 04 TITLE DEATH echo Hello friend! pause>nul echo. echo. echo. echo. echo Welcome to The End of The Line. echo. echo. echo. pause>nul cls :menu1 echo. echo How would you like to die? echo. echo 1 Chainsaw echo 2 Acid echo 3 Compactor set/p howdie=CHOOSE if %howdie%==1 goto die1 if %howdie%==2 goto die2 if %howdie%==3 goto die3 :die1 cls echo A Chainsaw flies at your face. echo It is held by a mysterious stranger. echo He snickers at you as he cuts your torso in echo half with the speed and echo precision of a surgeon. echo You now lay lifeless on the cold cement. echo. pause goto menu1 :die2 cls echo You are held in place with staps on your arms and legs. echo You watch the executioner as he carries a strange vile over to you. echo Suddenly you realize what he is about to do. echo As he pours the acid on your thigh, working his way up echo drip, by drip, by drip. echo. echo He splashes the remainder of the acid into your face echo and watches as you scream in agony. echo. pause goto menu1 :die3 cls echo You awake in a dark room. echo You can hardly see your hands in front of your face. echo. echo Suddenly, you hear the loud roar of an electric motor. echo The lights cut on. echo You see two cold, steel panels that reach down the entire corridor. echo. echo You are confused. echo The roar of the motor gets louder and you hear the echo low-pitch hum from a machine. echo. echo You now understand what's going on. echo The two steel panels come closer together; echo the hum of the motor becoming louder as the walls contract. echo. echo As you feel the cold steel make contact with your arms, echo you know this is the end. echo. echo The walls push together and you scream in agony echo as your ribs break one by one. echo. echo The walls stay together, only letting the blood from echo your flattened corpse drip to the bare floor. echo. pause goto menu1