loading
This is a very simple way to make a trivia game. I hope you like it. By the way i also posted a trivia game already so if you dont want to make your own just go to this website

https://www.instructables.com/id/Trivia_Game/

the website posted above uses these exact pictures and following steps so i'm pretty much telling you how i made it

Step 1: Getting Started...

If you know how to get to notepad go there if you dont then...

first you have to click the "start" button and go to programs, applications, then click on notepad



Step 2: Colors

to begin, type
"@echo off"
then type the color you want your screen and words to be
here is a list of colors

1=blue 9=light blue
2=green A=light green
3=aqua B=light aqua
4=red C=light red
5=violet D=light violet
6=yellow E=light yellow
7=white F=brigth white
8=gray

example... 19 would turn my screen blue with a light blue text

(not very good example very blurry and hard to see... sorry... but you get it)

Step 3: Some Basic Commands

ok now you should have something like this

@echo off
color cf

i used the colors "cf" but you can type anything you want

ok so if you want a title all you need to do is type

title (insert title here)

dont use ( )

it should look like this

@echo off
color cf
title Computerfaker3's TRIVIA

now if you want it to say something type echo, echo tells the computer to say something so if you type echo Hi it will repeat Hi back to you

echo Hi, welcome to Computerfaker3's Trivia

typing echo. will create a space

i added lines to make it look better
this is what i did
this is completly up to you i did it cause it looks cool and better then just plain
echo Welcome to Computerfaker3's TRIVIA!!

echo.
echo - - - - - - - - - - - - - - -
echo.
echo Welcome to Computerfaker3's TRIVIA!!
echo.
echo - - - - - - - - - - - - - - -
echo.

Step 4: Asking Questions

Ok you got the main screen set up
now it should look something like this

@echo off
color cf
title Computerfaker3's TRIVIA
echo.
echo - - - - - - - - - - - - - - -
echo.
echo Welcome to Computerfaker3's TRIVIA!!
echo.
echo - - - - - - - - - - - - - - -
echo.

ok to create questions you have to type alot
first you have to type your question and the answers

echo Who is that little green guy in Star Wars
echo 1 Yoda
echo 2 Darth Vader
echo 3 Luke

you can put however many questions you want just be sure to set it right

Step 5: Creating Answers

after typing your intro type
pause
cls

cls will clear the screen
pause will pause it untill you press something
sometimes you have to type pause twice i dont know why but if you do pls tell me

say you used my example

echo Who is that little green guy in Star Wars
echo 1 Yoda
echo 2 Darth Vader
echo 3 Luke

there are 3 possible answers so now you need to set something to act as the question

set /p (watever you want)=choice1~3

if you have more question type set /p (watever)=choice1~ and then how ever many questions you have, i have 3

in this example i'm going to use starwars

set /p starwars=choice1~3

now you have to make the answers

if %starwars%==1 goto Correct

if makes it a variable
%starwars% means that we are using the starwars we set
==1 means if you type 1

-by the way i'm not a genius so if i got something wrong here feel free to correct me

if %starwars%==2 goto Incorrect
if %starwars%==3 goto Incorrect

if you have more questions you have to enter them just do the same thing i did

Step 6: Goto

goto means litterally to goto something
so if i type goto correct it will goto correct
to make it go to correct i have to make correct its really simple just type

:correct

then you can type watever you want
echo You got it right!!

be sure to type pause other wise it will say You got it right! for like 1 second and then close
heres what a finished copy looks like

:correct
echo You got it right!!
pause
goto continued
:incorrect
echo Sorry, try again.
pause
goto end
:continued

now continue the steps and when you get done type :end
if you have any questions feel free to ask i should be able to help

everything

@echo off
color cf
title Computerfaker3's TRIVIA
echo.
echo - - - - - - - - - - - - - - -
echo.
echo Welcome to Computerfaker3's TRIVIA!!
echo.
echo - - - - - - - - - - - - - - -
echo.
pause
cls
echo Who is that little green guy in Star Wars
echo 1 Yoda
echo 2 Darth Vader
echo 3 Luke
set /p starwars=choice1~3
if %starwars%==1 goto Correct
if %starwars%==2 goto Incorrect
if %starwars%==3 goto Incorrect
:Correct
cls
echo You got it right!!
pause
pause
goto continued
:Incorrect
cls
echo Sorry you got it wrong!!
pause
pause
goto end
:continued
cls
echo you made it to the end
pause
pause
:end

Step 7: Everything

everything

@echo off
color cf
title Computerfaker3's TRIVIA
echo.
echo - - - - - - - - - - - - - - -
echo.
echo Welcome to Computerfaker3's TRIVIA!!
echo.
echo - - - - - - - - - - - - - - -
echo.
pause
cls
echo Who is that little green guy in Star Wars
echo 1 Yoda
echo 2 Darth Vader
echo 3 Luke
set /p starwars=choice1~3
if %starwars%==1 goto Correct
if %starwars%==2 goto Incorrect
if %starwars%==3 goto Incorrect
:Correct
cls
echo You got it right!!
pause
pause
goto continued
:Incorrect
cls
echo Sorry you got it wrong!!
pause
pause
goto end
:continued
cls
echo you made it to the end
pause
pause
:end
Why does it crash whenever i input a number??!!<br><br>@echo off<br>color de<br>title Micah's TRIVIA<br>echo.<br>echo ---------------<br>echo.<br>echo Welcome to Micah's TRIVIA!!!!!<br>echo.<br>echo ---------------<br>echo.<br><br>set lives=3<br><br>pause<br>cls<br><br>:question1<br><br>echo lives=%lives% <br><br>echo Question 1:<br><br><br>echo What Is My Middle Name?<br>echo.<br>echo ---------------<br>echo.<br>echo 1. John<br>echo 2. Randell<br>echo 3. Andre<br><br>set /p MiddleName =C:/<br><br>if %MiddleName%==1 goto incorrect1<br>if %Middlename%==2 goto correct1<br>if %Middlename%==3 goto incorrect1<br>goto incorrect1<br><br>:incorrect1<br>cls<br>echo That was an incorrect answer!<br>pause<br>goto question1<br><br>:Correct1<br>cls<br>echo Thats right!!<br>pause
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
<p>This is my code! Thanks for helping, I needed this.</p>
<p>@ECHO OFF</p><p>color 0F</p><p>title Super Legit Quiz</p><p>echo Type ? and press enter for help</p><p>echo Type 1 and press enter to start</p><p>echo Type 2 and press enter to select color(WIP)</p><p>set /p homescreen=Choice-</p><p>if %homescreen% ==? goto help</p><p>if %homescreen% ==1 goto Quiz</p><p>if %homescreen% ==2 goto wip1</p><p>:wip1</p><p>cls</p><p>echo this is not done by any means</p><p>echo.</p><p>echo I will now take you to the help screen</p><p>pause</p><p>:help</p><p>cls</p><p>echo this is a quick helper to play Unfair Quiz v.1</p><p>echo.</p><p>echo.</p><p>echo when answering a question, don't type the answer out,</p><p>echo instead, just type the number of that answer, and</p><p>echo press enter.</p><p>echo.</p><p>echo.</p><p>echo also, if you were looking for an actual quiz, then </p><p>echo this is not the game for you, as this is more of an</p><p>echo Impossible Quiz-style game</p><p>echo.</p><p>echo.</p><p>pause</p><p>:Quiz</p><p>cls</p><p>echo are you ready</p><p>echo 1) yes</p><p>echo 2) no</p><p>echo.</p><p>echo.</p><p>set /p areyouready=Type your answer</p><p>if %areyouready% ==1 goto start</p><p>if %areyouready% ==2 goto end</p><p>if %areyouready% ==yes goto start</p><p>if %areyouready% ==no goto end</p><p>:start</p><p>cls</p><p>ECHO ----------------</p><p>ECHO Do not press any key</p><p>ECHO ----------------</p><p>PAUSE</p><p>cls</p><p>ECHO ----------------</p><p>ECHO Woah man, why would you disobey me</p><p>ECHO ----------------</p><p>PAUSE</p><p>cls</p><p>ECHO ----------------</p><p>ECHO STOP</p><p>ECHO ----------------</p><p>PAUSE</p><p>cls</p><p>ECHO ----------------</p><p>ECHO Well well well, it seems you've fallen right into my trap</p><p>ECHO ----------------</p><p>PAUSE</p><p>cls</p><p>ECHO ----------------</p><p>ECHO lets play a little game of trivia to see if you survive or not, get</p><p>Echo one wrong, you die</p><p>ECHO ----------------</p><p>PAUSE</p><p>cls </p><p>ECHO ----------------</p><p>ECHO Sounds fun, right?</p><p>ECHO ----------------</p><p>Pause</p><p>cls</p><p>ECHO ----------------</p><p>ECHO Let the games begin</p><p>ECHO ----------------</p><p>PAUSE</p><p>cls</p><p>ECHO Why did you choose to disobey me</p><p>ECHO 1) Because I'm a dummy </p><p>ECHO 2) Because I thought I was cool</p><p>ECHO 3) This is unfair</p><p>echo. </p><p>echo.</p><p>set /p unfairquiz=Choice-</p><p>IF %unfairquiz% ==1 goto Incorrect</p><p>if %unfairquiz% ==2 goto Incorrect</p><p>if %unfairquiz% ==3 goto Correct</p><p>:Correct</p><p>cls</p><p>echo Hey, you guessed correctly! wow, must not be hard enough</p><p>pause</p><p>goto question2</p><p>:question2</p><p>cls</p><p>echo how many tries did that take you?</p><p>ECHO 1) (1) </p><p>ECHO 2) (2) </p><p>ECHO 3) (3)</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz2=choice-</p><p>if %unfairquiz2% ==1 goto Incorrect</p><p>if %unfairquiz2% ==2 goto Correct2</p><p>if %unfairquiz2% ==3 goto Incorrect</p><p>:Correct2</p><p>cls</p><p>echo Wow, you got 2 Wrighte in a row!</p><p>pause</p><p>goto question3</p><p>:question3</p><p>cls</p><p>ECHO how did I incorrectly spell right?</p><p>ECHO 1) Write</p><p>ECHO 2) Rite</p><p>ECHO 3) Wright</p><p>ECHO.</p><p>ECHO.</p><p>set /p unfairquiz3=choice-</p><p>if %unfairquiz3% ==1 goto Incorrect</p><p>if %unfairquiz3% ==2 goto Incorrect</p><p>if %unfairquiz3% ==3 goto Correct3</p><p>:Correct3</p><p>cls</p><p>echo That was easy, dont get too full of yourself just yet</p><p>cls</p><p>Pause</p><p>cls</p><p>goto question4</p><p>cls</p><p>:question4</p><p>ECHO what is your name</p><p>ECHO 1) %username%</p><p>ECHO 2) Not telling</p><p>ECHO 3) Hugh Mungus</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz4=choice-</p><p>if %unfairquiz4% ==1 goto Correct4</p><p>if %unfairquiz4% ==2 goto Incorrect</p><p>if %unfairquiz4% ==3 goto Incorrect</p><p>cls</p><p>:correct4</p><p>pause</p><p>cls</p><p>echo BTW that 1st answer changes depending on your username</p><p>Pause</p><p>goto question5</p><p>cls</p><p>:question5</p><p>Echo what question are you on</p><p>Echo 1)4</p><p>ECHO 2)5</p><p>ECHO 3)6</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz5=choice-</p><p>if %unfairquiz5% ==1 goto Incorrect</p><p>if %unfairquiz5% ==2 goto Correct5</p><p>if %unfairquiz5% ==3 goto Incorrect</p><p>:correct5</p><p>cls</p><p>echo Hey, you're getting pretty good at this</p><p>pause</p><p>cls</p><p>goto question6</p><p>:question6</p><p>cls</p><p>Echo are you bored yet</p><p>echo 1) No</p><p>echo 2) Yes</p><p>echo 3) the logical answer: I dont know</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz6=choice-</p><p>if %unfairquiz6% ==1 goto Correct6</p><p>if %unfairquiz6% ==2 goto Incorrect</p><p>if %unfairquiz6% ==3 goto Incorrect</p><p>:Correct6</p><p>cls</p><p>echo Pretty good, eh, you're quite the honest guy... or female, or trans</p><p>echo or one of the other 40 plus genders that exist</p><p>pause</p><p>:question7</p><p>cls</p><p>echo who is an idiot who just wasted 2 minutes of their life</p><p>echo 1) %username%</p><p>echo 2) %username%</p><p>echo 3) %username%</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz7=choice-</p><p>if %unfairquiz7% ==1 goto Correct7</p><p>if %unfairquiz7% ==2 goto Correct7</p><p>if %unfairquiz7% ==3 goto CorrectEasterEgg</p><p>:correct7</p><p>pause</p><p>cls</p><p>echo hey, you were pretty close to an easter egg, but you seem to have missed it</p><p>goto question8</p><p>:question8 </p><p>pause</p><p>cls</p><p>echo how many genders are there</p><p>echo 1) 2</p><p>echo 2) 61</p><p>echo 3) 63</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz8=choice-</p><p>if %unfairquiz8%==1 goto correct8</p><p>if %unfairquiz8%==2 goto incorrect</p><p>if %unfairquiz8%==3 goto TRIGGERED</p><p>:Triggered</p><p>pause</p><p>cls</p><p>echo You seem triggered, there are only 2 genders</p><p>echo you need proof?</p><p>echo Well, just believe me, its fact</p><p>pause</p><p>:Incorrect</p><p>cls</p><p>echo Sorry, you're a moron and are going to die GG</p><p>pause</p><p>goto start</p><p>:correct8</p><p>cls</p><p>echo hey, you are a good lad, and a correct one too</p><p>:question9</p><p>echo what was the answer to number 3</p><p>echo 1)%username%</p><p>echo 2)Wright</p><p>echo 3)No</p><p>echo.</p><p>echo.</p><p>set /p unfairquiz9=choice-</p><p>if %unfairquiz9%==1 goto Incorrect</p><p>if %unfairquiz9%==2 goto Correct9</p><p>if %unfairquiz9%==3 goto Incorrect</p><p>:correct9</p><p>pause</p><p>cls</p><p>echo nice job m8</p><p>:question10</p><p>pause</p><p>cls</p><p>echo would you play a part II of this, with triple the questions</p><p>echo 1)yes</p><p>echo 2)no</p><p>echo 3)Definetly</p><p>echo.</p><p>echo.</p><p>set /p helpfulquestion=choice-</p><p>if %helpfulquestion%==1 goto emailandcontact</p><p>if %helpfulquestion%==2 goto end</p><p>if %helpfulquestion%==3 goto emailandcontact</p><p>:emailandcontact</p><p>echo If you got here by accident, just skip along, but if not, </p><p>echo thanks for enjoying the game</p><p>pause</p><p>cls</p><p>echo if you do want me to make part II with 3X the questions, email me</p><p>echo @ Cheeseycheeseburger@gmail.com |and yes, I know I misspelt cheesy|</p><p>:end </p><p>cls</p><p>Echo Are you sure</p><p>echo 1)yes</p><p>echo 2)no</p><p>echo.</p><p>echo.</p><p>set /p yesorno=choose 1 for yes, 2 for no</p><p>if %yesorno% ==2 goto start</p><p>if %yesorno% ==1 goto bye</p><p>:correctEasterEgg</p><p>pause</p><p>cls</p><p>echo Hey, you found an easter egg, good job, you win</p><p>:final</p><p>Pause</p><p>Cls</p><p>Echo it seems to be that somehow, you survived this</p><p>Echo totally fair and legit quiz, so for that,</p><p>Echo good job</p><p>pause</p><p>cls</p><p>echo thanks for playing the Unfair Quiz v.1 by Joey B.</p><p>pause</p><p>:bye</p><p>cls</p><p>echo bye</p><p>pause</p><p>cls</p>
<p>How do I run this program?</p>
<p>OMG AWESOME I WILL TEST IT NOW WISH IT WORKS!!!</p>
<p>How do you say what is your name and then i type the name and then the cmputer says hello with your name</p>
<p>You do it like this</p><p>echo Welcome %username% to my new game.</p><p>%username% will change to the name of the logged in user</p>
<p>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!</p><p>*the word 'name' can be anything you want</p>
<p>l ove it wow</p>
<p>l ove it wow</p>
<p>l ove it wow</p>
<p>@echo off</p><p>:loop</p><p>echo LOADING...</p><p>echo -----------------------------------------------------------------</p><p>echo Do not touch anything at the time it is loading and it will crash!</p><p>echo -----------------------------------------------------------------</p><p>ping localhost -n 5 &gt;nul2</p><p>cls</p><p>:menu</p><p>title The game</p><p>goto menu2</p><p>:menu1</p><p>cls</p><p>echo Well there was not a A,B,or C answer try again</p><p>pause&gt;nul</p><p>goto menu2</p><p>:menu2</p><p>cls</p><p>echo.</p><p>echo.</p><p>echo -------------------------------</p><p>echo Zach and Brian's Gaming QUIZ</p><p>echo --------------------------------</p><p>echo.</p><p>echo.</p><p>echo ------------------</p><p>echo Type A and press ENTER to play</p><p>echo Type B and press ENTER to see colors</p><p>echo Type C and press ENTER to type in cheat codes!!!!!</p><p>echo ----------------------</p><p>@echo off</p><p>title The Trivia game</p><p>set /p command=Command? </p><p>if %command% == a goto spida</p><p>if %command% == b goto color</p><p>if %command% == A goto spida</p><p>if %command% == B goto color</p><p>if %command% == C goto Cheats</p><p>if %command% == c goto Cheats</p><p>else goto menu1</p><p>:Cheats</p><p>cls</p><p>echo Hello type in the cheat below then press enter!</p><p>set /p Spiderman=COMMAND? </p><p>if %Spiderman% == 2580 goto Creater</p><p>if %Spiderman% == 0923 goto Creater</p><p>if %Spiderman% == BRIAN goto Creater</p><p>if %Spiderman% == Zach goto Creater</p><p>if %Spiderman% == .bat goto Creater</p><p>else goto Sorry</p><p>:Sorry</p><p>cls</p><p>echo Your cheat code is invalid.</p><p>echo ------------------------------------------------------------------------</p><p>echo If this is a glitch you think contact Zach at his skype</p><p>echo ------------------------------------------------------------------------</p><p>echo Zach.ebert1</p><p>pause&gt;nul</p><p>goto menu2</p><p>:Creater</p><p>cls</p><p>echo Well either you created or helped or is just a friend of Brian or me</p><p>pause&gt;nul</p><p>cls</p><p>echo POINTS:1000000000000000</p><p>echo -----------------------</p><p>echo WINNNNNNNNER!!!!!!!!!!!</p><p>echo -----------------------</p><p>echo (This currently dosent do anything)</p><p>pause&gt;nul</p><p>goto menu</p><p>:color</p><p>cls</p><p>echo What color would you like</p><p>echo -------------------------</p><p>echo 0 = Black </p><p>echo 8 = Gray </p><p>echo 1 = Blue </p><p>echo 9 = Light Blue </p><p>echo 2 = Green </p><p>echo A = Light Green </p><p>echo 3 = Aqua </p><p>echo B = Light Aqua </p><p>echo 4 = Red </p><p>echo C = Light Red </p><p>echo 5 = Purple </p><p>echo D = Light Purple </p><p>echo 6 = Yellow </p><p>echo E = Light Yellow </p><p>echo 7 = White </p><p>echo F = Bright White </p><p>set /p Colors=</p><p>if %Colors% == 0 goto Black</p><p>if %Colors% == 8 goto Gray</p><p>if %Colors% == 1 goto Blue</p><p>if %Colors% == 9 goto LB</p><p>if %Colors% == 2 goto Green </p><p>if %Colors% == A goto LG</p><p>if %Colors% == 3 goto Aqua</p><p>if %Colors% == B goto LA </p><p>if %Colors% == 4 goto Red</p><p>if %Colors% == C goto LR</p><p>if %Colors% == 5 goto Purple</p><p>if %Colors% == D goto LP</p><p>if %Colors% == 6 goto Yellow</p><p>if %Colors% == E goto LY</p><p>if %Colors% == 7 goto White</p><p>if %Colors% == F goto BW</p><p>if %Colors% == a goto LG</p><p>if %Colors% == b goto LA</p><p>if %Colors% == c goto LR</p><p>if %Colors% == d goto LP</p><p>if %Colors% == e goto LY</p><p>if %Colors% == f goto BW</p><p>:Black</p><p>color 0</p><p>goto menu</p><p>:Gray</p><p>color 8</p><p>goto menu</p><p>:Blue</p><p>color 1</p><p>goto menu</p><p>:LB</p><p>color 9</p><p>goto menu</p><p>:Green</p><p>color 2</p><p>goto menu</p><p>:LG</p><p>color A</p><p>goto menu</p><p>:Aqua</p><p>color 3</p><p>goto menu</p><p>:LA</p><p>color B</p><p>goto menu</p><p>:Red</p><p>color 4</p><p>goto menu</p><p>:LR</p><p>color C</p><p>goto menu</p><p>:Purple</p><p>color 5</p><p>goto menu</p><p>:LP</p><p>color D</p><p>goto menu</p><p>:Yellow</p><p>color 6</p><p>goto menu</p><p>:LY</p><p>color E</p><p>goto menu</p><p>:White</p><p>color 7</p><p>goto menu</p><p>:BW</p><p>color F</p><p>goto menu</p><p>:spida</p><p>start cmd.exe</p><p>goto spida</p><p>:Question1</p><p>cls</p><p>echo Are you cool?</p><p>echo (y/n)</p><p>set /p Zach=</p><p>:Brian or Zach</p><p>cls</p><p>echo Hello Creator/User how are you today?</p><p>set /p lol=</p><p>if %lol% == Good goto woo</p><p>if %lol% == Bad goto k</p><p>if %lol% == good goto woo</p><p>if %lol% == bad goto k</p><p>if %lol% == Brian goto kkk</p><p>if %lol% == Zach goto kkk</p><p>:kkk</p><p>cls</p><p>echo Hello Creater we knew it was you!</p><p>echo -----------------------------------------</p><p>echo Please dont take offense to kkk!</p><p>echo -----------------------------------------</p><p>echo Cheat Codes:0923,2580,Zach,BRIAN,and .bat</p><p>echo ---------------------------------</p><p>echo Well there you go!</p><p>pause&gt;nul</p><p>goto Chimmy</p><p>if %Brian% == Brian goto Brian or Zach</p><p>if %Brian% == Zach goto Brian or Zach</p><p>else goto Question1</p><p>if %Zach% == y goto hi</p><p>if %Zach% == Y goto hi</p><p>if %Zach% == n goto Homerun</p><p>if %Zach% == N goto Homerun</p><p>:Chimmy</p><p>echo How are you!</p><p>echo ------------</p><p>set /p cats</p><p>if %cats% === Good goto woo</p><p>if %cats% === good goto woo</p><p>if %cats% === Bad goto k</p><p>if %cats% === bad goto k</p><p>:woo</p><p>cls</p><p>echo Well thats great news!</p><p>pause&gt;nul</p><p>cls</p><p>echo Back to the QUIZ!</p><p>pause&gt;nul</p><p>cls</p><p>goto hi</p><p>:k</p><p>cls</p><p>color 4</p><p>echo Well thats bad news :(</p><p>pause&gt;nul</p><p>cls</p><p>echo Back to the QUIZ!</p><p>pause&gt;nul</p><p>cls</p><p>color %Colors%</p><p>goto hi</p><p>:hi</p><p>cls</p><p>color A</p><p>echo %Brian% Well i guess you are cool!</p><p>pause&gt;nul</p><p>color %Colors%</p><p>cls</p><p>echo Do u play arma 3?</p><p>echo -----------------</p><p>echo (y/n)</p><p>set /p Haha=</p><p>if %Haha% == y goto Obamacare</p><p>if %Haha% == Y goto Obamacare</p><p>if %Haha% == n goto dontcare</p><p>if %Haha% == N goto dontcare</p><p>:Obamacare</p><p>cls</p><p>color A</p><p>echo %Brian% I know you are cool cause you play arma 3</p><p>pause&gt;nul</p><p>color %Colors%</p><p>cls</p><p>echo Do you have steam?</p><p>echo ------------------</p><p>echo (y/n)</p><p>set /p oldman=</p><p>if %oldman% == y goto Steam</p><p>if %oldman% == Y goto Steam</p><p>if %oldman% == N goto Hater</p><p>if %oldman% == n goto Hater</p><p>goto Steam</p><p>:Steam</p><p>cls</p><p>color A</p><p>echo %Brian% Wow you are a pretty good gamer!</p><p>pause&gt;nul</p><p>color %Colors%</p><p>cls</p><p>echo What is better COD or ARMA</p><p>set /p COD=</p><p>if %COD% == ARMA goto Correct</p><p>if %COD% == arma goto Correct</p><p>if %COD% == COD goto Wrong</p><p>if %COD% == cod goto Wrong</p><p>goto Correct</p><p>:Correct</p><p>cls</p><p>color 2</p><p>echo Wow you have made it pretty far %Brian%!</p><p>echo --------------------------------------------</p><p>echo Hit me or Brian up on skype!</p><p>echo ---------------------------------------------</p><p>echo (Main Scripter) Zach.ebert1</p><p>echo ---------------------------------------------</p><p>echo (Tutor)( Very Helpful Scripter ) skullface380</p><p>pause&gt;nul</p><p>cls</p><p>goto Next</p><p>:Next</p><p>echo Is steam a non-profit company?</p><p>echo (y/n)</p><p>set /p NoN=</p><p>if %NoN% == Y goto Heaven</p><p>if %NoN% == y goto Heaven</p><p>if %NoN% == N goto UnderWorld</p><p>if %NoN% == n goto UnderWorld</p><p>:Hater</p><p>cls</p><p>echo WOW %Brian% YOU ARENT A ACTUAL GAMER GO FIND SOME FRIENDS</p><p>echo -----------------------------------------------------</p><p>echo YOU DONT HAVE STEAM!!!!!!!!!!!!!</p><p>echo -----------------------------------------------------</p><p>echo STUPID NON GAMER JUST DIE DIE IN ARMA OR DID YOU LIE!</p><p>color 4</p><p>pause&gt;nul</p><p>:UnderWorld</p><p>cls</p><p>color 4</p><p>echo %Brian% Well apparently you lied to me!</p><p>echo -------------------------------------------------------------</p><p>echo Well you arent trust worthy enough to take the truthful test!</p><p>echo -------------------------------------------------------------</p><p>pause&gt;nul</p><p>:Heaven</p><p>cls</p><p>echo Well thanks for taking a honest test so far!</p><p>echo --------------------------------------------</p><p>echo We still have more questions!</p><p>pause&gt;nul</p><p>goto Question</p><p>:Question</p><p>cls</p><p>echo Does steam have a sale every christmas or every honika?</p><p>set /p l=Answer?</p><p>if %l% == Christmas goto close</p><p>if %l% == christmas goto close</p><p>if %l% == Honika goto Out</p><p>if %l% == honika goto Out</p><p>:Out</p><p>echo Sorry %Brian% :(</p><p>pause&gt;nul</p><p>goto menu2</p><p>:close</p><p>cls</p><p>echo Wow you are nearly done well done!</p><p>echo &quot;Clap Clap&quot; &quot;Clap Clap&quot; &quot;Clap Clap&quot;</p><p>pause&gt;nul</p><p>cls</p><p>echo Proceed to next the next question? (Press enter)</p><p>pause&gt;nul</p><p>goto NextQuestion</p><p>:NextQuestion</p><p>goto menu2</p><p>:Homerun</p><p>cls</p><p>color 4</p><p>echo Well lets try this again</p><p>pause&gt;nul</p><p>color %Colors%</p><p>goto menu</p><p>:dontcare</p><p>cls</p><p>goto goingtomenu</p><p>:goingtomenu</p><p>cls</p><p>echo Im done with you go play arma 3 oh wait you dont have it!</p><p>echo -----------------------------------------------------------</p><p>color 4</p><p>echo GO TO THE UNDERWORLD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</p><p>echo -----------------------------------------------------------</p><p>echo (its actually menu)</p><p>pause&gt;nul</p><p>goto menu</p>
<p>thanx computerfaker3 i made my first one from your &quot;walkthrough&quot;if you will, and it worked perfectly. now i've got eight more on &quot;How well do you know(insert game here)'s</p>
<p>@echo off</p><p>color cf</p><p>cls</p><p>:Password</p><p>Set input=</p><p>set /p input= Password (input then press enter) :</p><p>if %input%==1564 goto YES </p><p>if not %input%==1564 goto NO</p><p>:YES</p><p>echo Login Successful</p><p>goto QuestionOne</p><p>:NO</p><p>Echo INCORRECT PASSWORD</p><p>goto Password</p><p>:QuestionOne</p><p>title Nope! The Game.</p><p>echo.</p><p>echo -----------------</p><p>echo.</p><p>echo Welcome to Nope! The Game.</p><p>echo.</p><p>echo -----------------</p><p>echo.</p><p>pause</p><p>set /p question= Whats up? 1.Much! 2.Nothing much. 3.Nothing.</p><p>echo 1 Much!</p><p>echo 2 Nothing much.</p><p>echo 3 Nothing.</p><p>if %question%==1 goto AnswerOne</p><p>if %question%==2 goto AnswerTwo</p><p>if %question%==3 goto AnswerThree</p><p>pause&gt;nul</p><p>:AnswerOne</p><p>echo.</p><p>echo ---------</p><p>echo Nice</p><p>echo ---------</p><p>echo.</p><p>goto Main</p><p>pause&gt;nul</p><p>:AnswerTwo</p><p>echo.</p><p>echo ---------</p><p>echo Oh ok.</p><p>echo ---------</p><p>echo.</p><p>goto Main</p><p>pause&gt;nul</p><p>:AnswerThree</p><p>echo.</p><p>echo ---------</p><p>echo oh.</p><p>echo ---------</p><p>echo.</p><p>goto Main</p><p>pause&gt;nul</p><p>:Main</p><p>echo.</p><p>echo Ok, lets get started</p><p>echo.</p><p>set /p Start= Start 1</p><p>set /p Options= Options 2</p><p>pause&gt;nul</p>
<p>My Game, you may copy but KEEP THE BOLD</p><p>@echo off</p><p>color 04 </p><p>TITLE Find Your Way Home!(BETA)</p><p>echo Time To Play&quot;Find Your Way Home (BETA)!!! NOTE: THIS GAME IS A WORK IN PROGRESS</p><p>pause</p><p>cls</p>echo Originally Made By koolkaleb &lt;------(You may Copy Code, BUT DO NOT REMOVE THIS!)Remove the arrow and right, keep Made By koolkaleb36 <p>:start</p><p>echo Pick Your Path By Typing The Number Of The Path You Want, Then Press Enter!</p><p>pause</p><p>cls</p><p>echo Hai! Let's Find Your Home!</p><p>pause&gt;nul </p><p>cls</p><p>echo. </p><p>echo. </p><p>echo. </p><p>echo. </p><p>echo Ready To Play Find Your Way Home? A game of chance?</p><p>echo. </p><p>echo. </p><p>echo. </p><p>pause&gt;nul </p><p>cls </p><p>echo Choose Your Path </p><p>echo 1 Path Through A Dark Forest</p><p>echo 2 Path Of Rainbows</p><p>echo 3 Path Of A Regular Road </p><p>set/p a=CHOOSE </p><p>if %a%==1 goto correct</p><p>if %a%==2 goto not</p><p>if %a%==3 goto not</p><p>:correct</p><p>cls </p><p>echo You Survived!</p><p>echo. </p><p>pause </p><p>goto b</p><p>:not </p><p>cls </p><p>echo You Died... Sorry</p><p>pause </p><p>goto start</p><p>:b</p><p>echo Choose Your Path</p><p>echo 1 Yellow Path</p><p>echo 2 A Path Through A Dark Alley</p><p>echo 3 A Path Through A Toy Factory</p><p>set/p b=CHOOSE</p><p>if %b%==3 goto correct</p><p>if %b%==2 goto not</p><p>if %b%==1 goto not</p><p>:correct</p><p>cls </p><p>echo You Survived!</p><p>echo. </p><p>pause </p><p>goto WINNER</p><p>:not </p><p>cls </p><p>echo You Died... Sorry</p><p>pause </p><p>goto start</p><p>:WINNER</p><p>echo You Won And Got Back Home!</p><p>pause</p><p>cls</p><p>echo Want Me To Make One Of These Games For You, For FREE?!?!?!?</p><p>pause</p><p>echo Then email me at koolkaleb36@gmail.com!</p><p>pause</p><p>cls</p><p>echo Check Out Our Site For The Updates!</p><p>pause</p><p>echo (SITE COMING SOON)</p><p>pause</p><p>cls</p><p>echo Hope You Enjoyed!</p><p>pause</p><p>:end</p>
Ive made my own one its a W I P but it still good need to add more stuff to it. <br>Get it here if you want | <br> \/ <br>@echo off <br>cls <br>echo LOADING GAME... <br>ping localhost -n 5 &gt;nul <br>@echo off <br> <br>:loop <br>:menu <br>cls <br>color 0b <br>echo The Quizz Game <br>ping localhost -n 5 &gt;nul <br> <br>color 0e <br>:loop <br>:menu <br>echo copyrite Shazy 2013 <br> <br>echo=========== <br>echo 1)Start <br>echo 2)Options/Info <br>echo 3)exit <br>echo=========== <br>set /p hi= <br> <br>if not defined hi ( <br>cls <br>goto loop <br>) <br> <br>if %hi% == 1 goto Game <br>if %hi% == 2 goto Options/Info <br>if %hi% == 3 exit <br> <br>:menu1 <br>cls <br>color 0b <br>echo The Quizz Game <br>ping localhost -n 5 &gt;nul <br> <br>color 0a <br>:loop <br>:menu <br>echo copyrite Shazy 2013 <br> <br>echo=========== <br>echo 1)Start <br>echo 2)Options/Info <br>echo 3)exit <br>echo=========== <br>set /p hi= <br> <br>if not defined hi ( <br>cls <br>goto loop <br>) <br> <br>if %hi% == 1 goto Game <br>if %hi% == 2 goto Options/Info <br>if %hi% == 3 exit <br> <br>:menu2 <br>cls <br>color 0b <br>echo The Quizz Game <br>ping localhost -n 5 &gt;nul <br> <br>color 0b <br>:loop <br>:menu <br>echo copyrite Shazy 2013 <br> <br>echo=========== <br>echo 1)Start <br>echo 2)Options/Info <br>echo 3)exit <br>echo=========== <br>set /p hi= <br> <br>if not defined hi ( <br>cls <br>goto loop <br>) <br> <br>if %hi% == 1 goto Game <br>if %hi% == 2 goto Options/Info <br>if %hi% == 3 exit <br> <br>:menu3 <br>cls <br>color 0b <br>echo The Quizz Game <br>ping localhost -n 5 &gt;nul <br> <br>color 0c <br>:loop <br>:menu <br>echo copyrite Shazy 2013 <br> <br>echo=========== <br>echo 1)Start <br>echo 2)Options/Info <br>echo 3)exit <br>echo=========== <br>set /p hi= <br> <br>if not defined hi ( <br>cls <br>goto loop <br>) <br> <br>if %hi% == 1 goto Game <br>if %hi% == 2 goto Options/Info <br>if %hi% == 3 exit <br> <br>:menu4 <br>cls <br>color 0b <br>echo The Quizz Game <br>ping localhost -n 5 &gt;nul <br> <br>color 0d <br>:loop <br>:menu <br>echo copyrite Shazy 2013 <br> <br>echo=========== <br>echo 1)Start <br>echo 2)Options/Info <br>echo 3)exit <br>echo=========== <br>set /p hi= <br> <br>if not defined hi ( <br>cls <br>goto loop <br>) <br> <br>if %hi% == 1 goto Game <br>if %hi% == 2 goto Options/Info <br>if %hi% == 3 exit <br> <br>:menu5 <br>cls <br>color 0b <br>echo The Quizz Game <br>ping localhost -n 5 &gt;nul <br> <br>color 0f <br>:loop <br>:menu <br>echo copyrite Shazy 2013 <br> <br>echo=========== <br>echo 1)Start <br>echo 2)Options/Info <br>echo 3)exit <br>echo=========== <br>set /p hi= <br> <br>if not defined hi ( <br>cls <br>goto loop <br>) <br> <br>if %hi% == 1 goto Game <br>if %hi% == 2 goto Options/Info <br>if %hi% == 3 exit <br> <br>:game <br>cls <br>echo Name? <br>set /p name= <br>echo Hello %name%! Would you like to start (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl1 <br>if %start% == Y goto lvl1 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br> <br>:Options/Info <br>cls <br>echo============================ <br>echo The Quiz Game, is a game of IQ. <br>echo This game will ask you a variety of questions, <br>echo some may be hard and some may be easy, <br>echo but thats for You to find out <br>echo============================ <br>echo choose a Menu Colour <br>echo colours=0a,Light Green/ 0b,Light Aqua/ 0c,Light Red/ 0d,Light purple/ <br>echo 0e,Light Yellow/ 0f,White <br>set /p color= <br>%color% <br> <br>if %color%== 0a goto menu1 <br>if %color%== 0b goto menu2 <br>if %color%== 0c goto menu3 <br>if %color%== 0d goto menu4 <br>if %color%== 0e goto menu <br>if %color%== 0f goto menu5 <br> <br>:lvl1 <br>cls <br>echo lvl 1 <br>echo what does 1+2+3+4+5+6+7+8+9 equal <br>echo a.45 <br>echo b.50 <br>echo c.62 <br>echo d.55 <br>set /p ha= <br> <br>if %ha% == a goto crl <br>if %ha% == b goto wrl <br>if %ha% == c goto wrl <br>if %ha% == d goto wrl <br>goto lvl1 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p ha= <br> <br>if %ha% == y goto lvl2 <br>if %ha% == Y goto lvl2 <br>if %ha% == n goto lvl1 <br>if %ha% == N goto lvl1 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl1 <br>if %start% == Y goto lvl1 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br> <br>:lvl2 <br>cls <br>echo lvl 2 <br>echo which planet is the 5th from the sun? <br>echo a.Venus <br>echo b.Jupiter <br>echo c.Uranus <br>echo d.Earth <br>set /p hi= <br> <br>if %hi% == a goto wrl <br>if %hi% == b goto crl <br>if %hi% == c goto wrl <br>if %hi% == d goto wrl <br>goto lvl2 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl3 <br>if %hi% == Y goto lvl3 <br>if %hi% == n goto lvl2 <br>if %hi% == N goto lvl2 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl2 <br>if %start% == Y goto lvl2 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br>:lvl3 <br>cls <br>echo lvl 3 <br>echo which of the following colours has the most pigments? <br>echo a.Blue <br>echo b.Orange <br>echo c.Brown <br>echo d.Red <br>set /p hi= <br> <br>if %hi% == a goto wrl <br>if %hi% == b goto wrl <br>if %hi% == c goto crl <br>if %hi% == d goto wrl <br>goto lvl3 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl4 <br>if %hi% == Y goto lvl4 <br>if %hi% == n goto lvl3 <br>if %hi% == N goto lvl3 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl3 <br>if %start% == Y goto lvl3 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br>:lvl4 <br>cls <br>echo lvl 4 <br>echo who was the first man launched in to space? <br>echo a.Mike Collins <br>echo b.Neil Armstrong <br>echo c.Yuri gagarin <br>echo d.Buzz Aldrin <br>set /p hi= <br> <br>if %hi% == a goto wrl <br>if %hi% == b goto wrl <br>if %hi% == c goto crl <br>if %hi% == d goto wrl <br>goto lvl4 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl5 <br>if %hi% == Y goto lvl5 <br>if %hi% == n goto lvl4 <br>if %hi% == N goto lvl4 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl4 <br>if %start% == Y goto lvl4 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br>:lvl5 <br>cls <br>echo lvl 5 <br>echo Who was the Original owner of Apple? <br>echo a.Steve Jobs <br>echo b.Bill Gates <br>echo c.Jeorge Lucas <br>echo d.Harry Potter <br>set /p hi= <br> <br>if %hi% == a goto crl <br>if %hi% == b goto wrl <br>if %hi% == c goto wrl <br>if %hi% == d goto wrl <br>goto lvl5 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl6 <br>if %hi% == Y goto lvl6 <br>if %hi% == n goto lvl5 <br>if %hi% == N goto lvl5 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl5 <br>if %start% == Y goto lvl5 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br>:lvl6 <br>cls <br>echo lvl 6 <br>echo Which of these deceased singers was assasinated? <br>echo a. Freddie Mercury <br>echo b. John Lennon <br>echo c. Elvis Presley <br>echo d. Michael Jackson <br>set /p hi= <br> <br>if %hi% == a goto wrl <br>if %hi% == b goto crl <br>if %hi% == c goto wrl <br>if %hi% == d goto wrl <br>goto lvl6 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl7 <br>if %hi% == Y goto lvl7 <br>if %hi% == n goto lvl6 <br>if %hi% == N goto lvl6 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl6 <br>if %start% == Y goto lvl6 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br>:lvl7 <br>cls <br>echo lvl 7 <br>echo Who created the first light bulb? <br>echo a. Thomas Edison <br>echo b. Hiram Stevens <br>echo c. Joseph Swan <br>echo d. Albert Einstein <br>set /p hi= <br> <br>if %hi% == a goto crl <br>if %hi% == b goto wrl <br>if %hi% == c goto wrl <br>if %hi% == d goto wrl <br>goto lvl6 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl8 <br>if %hi% == Y goto lvl8 <br>if %hi% == n goto lvl7 <br>if %hi% == N goto lvl7 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl7 <br>if %start% == Y goto lvl7 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br>:lvl8 <br>cls <br>echo lvl 8 <br>echo how old was Sir Edmund Hillary when he died? <br>echo a. 79 <br>echo b. 92 <br>echo c. 86 <br>echo d. 88 <br>set /p hi= <br> <br>if %hi% == a goto wrl <br>if %hi% == b goto wrl <br>if %hi% == c goto wrl <br>if %hi% == d goto crl <br>goto lvl6 <br> <br>:crl <br>echo Correct! <br>echo. <br>echo Continue? (y/n) <br>set /p hi= <br>if %hi% == y goto lvl9 <br>if %hi% == Y goto lvl9 <br>if %hi% == n goto lvl8 <br>if %hi% == N goto lvl8 <br>goto crl <br> <br>:wrl <br>echo wrong <br>echo . <br>pause <br>cls <br>echo Retry? (y/n) <br>set /p start= <br> <br>if %start% == y goto lvl8 <br>if %start% == Y goto lvl8 <br>if %start% == n goto menu <br>if %start% == N goto menu <br>goto start game <br>@echo off <br> <br> <br>
i need help with the goto game and inst. It always take me to :inst even if I type 2. <br>here is my game. <br>@echo off <br>title GAME <br>color 0a <br>echo. <br>echo. <br>pause&gt;nul <br>cls <br>echo. <br>set /p name= Enter your name <br>echo. <br>pause&gt;nul <br>cls <br>echo MENU <br>echo Press a number and press enter. <br>:main <br>echo 1--start game <br>echo 2--how to play <br>echo 3--exit <br>set /p n=enter number <br>if%n%==1 goto game <br>if%n%==2 goto inst <br>if%n%==3 goto end <br>:inst <br>cls <br>echo. <br>echo press a number and confirm your selection with enter <br>echo. <br>echo. <br>echo. <br>pause&gt;nul <br>goto main <br>:game <br>cls <br>echo. <br>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. <br>echo. <br>echo You have managed to make a fire. <br>pause&gt;nul <br>:end <br>flag[delete] <br>
i need help with the goto game and inst. It always take me to :inst even if I type 2. <br>here is my game. <br>@echo off <br>title GAME <br>color 0a <br>echo. <br>echo. <br>pause&gt;nul <br>cls <br>echo. <br>set /p name= Enter your name <br>echo. <br>pause&gt;nul <br>cls <br>echo MENU <br>echo Press a number and press enter. <br>:main <br>echo 1--start game <br>echo 2--how to play <br>echo 3--exit <br>set /p n=enter number <br>if%n%==1 goto game <br>if%n%==2 goto inst <br>if%n%==3 goto end <br>:inst <br>cls <br>echo. <br>echo press a number and confirm your selection with enter <br>echo. <br>echo. <br>echo. <br>pause&gt;nul <br>goto main <br>:game <br>cls <br>echo. <br>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. <br>echo. <br>echo You have managed to make a fire. <br>pause&gt;nul <br>: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&gt;nul echo. echo. echo. echo. echo Welcome to The End of The Line. echo. echo. echo. pause&gt;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 ^_~
yeah, i went throught and put all the enters and stuff, and was going to re-paste it, it didnt work, and i dont wanna do that again.. haha
Wow. There were some tweaks you could have mentioned. But otherwise a good tut. Heres what I made using this: <br> <br> @echo off <br>color 04 <br>TITLE DEATH <br>echo Hello friend! <br>pause&gt;nul <br>echo. <br>echo. <br>echo. <br>echo. <br>echo <br>Welcome to The End of The Line. <br> echo. <br>echo. <br> echo. <br>pause&gt;nul <br>cls <br>:menu1 <br> echo. <br> echo How would you like to die? <br> echo. <br> echo 1 Chainsaw <br>echo 2 Acid <br>echo 3 Compactor <br>set/p howdie=CHOOSE <br>if %howdie%==1 goto die1 <br> if %howdie%==2 goto die2 <br>if %howdie%==3 goto die3 <br>:die1 <br>cls <br>echo A Chainsaw flies at your face. <br>echo It is held by a mysterious stranger. <br>echo He snickers at you as he cuts your torso in echo half with the speed and <br>echo precision of a surgeon. <br>echo You now lay lifeless on the cold cement. <br>echo. <br>pause <br>goto menu1 <br>:die2 <br>cls <br>echo You are held in place with staps on your arms and legs. <br>echo You watch the executioner as he carries a strange vile over to you. <br>echo Suddenly you realize what he is about to do. <br>echo As he pours the acid on your thigh, working his way up <br>echo drip, by drip, by drip. <br>echo. <br>echo He splashes the remainder of the acid into your face <br>echo and watches as you scream in agony. <br>echo. <br>pause <br>goto menu1 <br>:die3 <br>cls <br>echo You awake in a dark room. <br>echo You can hardly see your hands in front of your face. <br>echo. <br>echo Suddenly, you hear the loud roar of an electric motor. <br>echo The lights cut on. <br>echo You see two cold, steel panels that reach down the entire corridor. <br>echo. <br>echo You are confused. <br>echo The roar of the motor gets louder and you hear the <br>echo low-pitch hum from a machine. <br>echo. <br>echo You now understand what's going on. <br>echo The two steel panels come closer together; <br>echo the hum of the motor becoming louder as the walls contract. <br>echo. <br>echo As you feel the cold steel make contact with your arms, <br>echo you know this is the end. <br>echo. <br>echo The walls push together and you scream in agony <br>echo as your ribs break one by one. <br>echo. <br>echo The walls stay together, only letting the blood from <br>echo your flattened corpse drip to the bare floor. <br>echo. <br>pause <br>goto menu1 <br> <br>feel free to use this guys, just remember that I made it ^_~ <br> <br>You sir are one very sick man
it's Very useful
it's really usefull
it's really usefull
you guys like mine? <br> <br> <br>@echo off <br>color 0a <br>title haydens game <br>:menu <br>cls <br>echo Do you want to play haydens game? <br>echo. <br>echo ..... <br>echo 1 yes <br>echo 2 no <br>echo 4 instructions <br>echo ..... <br> <br>set /p choice=run: <br>if %choice%==1 goto game <br>if %choice%==2 goto incorrect <br>if %choice%==3 goto win <br>if %choice%==4 goto instructions <br> <br>:instructions <br>cls <br>echo welcome to the trivia game! <br>echo rules <br>echo to answer q's pres 12or3 <br>echo (MAY VARY) <br>pause <br>goto menu <br> <br>:Game <br>cls <br>echo what color is the sky <br>echo ......................... <br>echo blue <br>echo purple <br>echo green <br>echo ......................... <br> <br>set /p sky=choice1~3 <br>if %sky%==1 goto correct <br>if %sky%==2 goto incorrect <br>if %sky%==3 goto incorrect <br> <br>:Correct <br>cls <br>echo you got it right <br>pause <br>goto continued <br> <br>:Incorrect <br>cls <br>echo you got it wrong <br>pause <br>goto menu <br> <br>:continued <br>cls <br>echo what does 3+3 equal <br>echo ...
I have made some matrix codes:<br>1.<br>@echo off<br>:loop<br>COlor 0A<br>Title (MATRIX)<br><br>echo %random% %random% %random% %random% %random% %random% <br>echo %random% %random% %random% %random% %random% %random% <br>echo %random% %random% %random% %random% %random% %random%<br><br>Goto :loop and save as .bat<br><br>2.<br>@echo off<br>title matrix<br>color 0a<br>:top<br>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%<br>goto top<br><br>3.<br>@echo off<br>color 2<br>:start<br>echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%<br>goto start<br><br>save as .bat<br><br>Have fun!!!
<br><br><br>@echo off<br> title Are you smarter than a Fifth grader?<br>cls<br><br>:menu<br> cls<br> echo ---------------------------------------------------------------<br> echo Are you smarter than a Fifth grader?<br> echo ---------------------------------------------------------------<br> echo [1] The rules of game/how meny lifes you get<br> echo [2] what is the prize<br> echo [3] start playing <br> echo [4] enter code here!<br> echo [5] <br> echo.<br> set /p op=Run:<br> if %op%==1 goto 1<br> if %op%==2 goto 2<br> if %op%==3 goto 3<br> if %op%==4 goto 4<br> if %op%==5 goto 5<br><br> goto error<br> :1<br> cls <br>echo To play the game you must get as much questions right<br>echo The point of the game is to get to grade 5 or even farther.<br>echo you have no lifes if you get 1 QUESTION Wrong you lose.<br>echo click any key to go back<br> pause &gt;nul<br>goto menu<br> :2<br>cls<br><br>echo At the end of the game you will<br>echo get a code. Tipe the code were it say &quot;enter code here!&quot;<br>echo press any key to go back<br>pause &gt;nul<br>goto menu<br> :3<br>cls<br>goto menu1<br><br> <br><br>cls<br>:password<br>set input=<br>set /p input=code(enter code): <br>if %input%==ywn goto YES <br>if not %input%==cheese goto wrong<br><br>:YES<br>echo You Win Nothing! lol <br>pause<br><br><br>goto menu<br>:menu1<br><br><br> echo ---------------------------------------------------------------<br> echo kindergarden<br> echo ---------------------------------------------------------------<br> echo what is your name?<br>set /p input=<br>echo you pass k grade!<br>pause<br><br>echo -----------------------------------------------------------------<br>echo first grade<br>echo -----------------------------------------------------------------<br><br><br>echo.<br> echo (math)6+3=?<br> echo =============<br> echo.<br> echo 18 <br> echo 10<br> echo 9<br> echo 6<br> echo none of them<br> echo.<br> set /p op=Run:<br> if %op%==18 goto 1<br> if %op%==10 goto 2<br> if %op%==9 goto 3<br> if %op%==6 goto 4<br> if %op%==5 goto 5<br><br> goto wrong<br> :1<br> cls<br> <br>goto wrong<br><br> :2<br> cls<br>goto wrong<br><br> <br> :3<br> cls<br><br>echo correct<br><br>pause<br> goto menu2<br> :4<br> cls<br>goto wrong<br><br> <br>pause<br> :5<br>goto wrong <br><br><br>:menu2<br><br>echo ____________________________________________________________<br>echo Grade 2<br>echo ____________________________________________________________<br>echo.<br>echo what is 20+17<br><br> echo [1] 37<br> echo [2] 27<br> echo [3] 48<br> echo [4] 1.17<br> echo [5] 3<br> echo.<br> set /p op=Run:<br> if %op%==37 goto 1<br> if %op%==27 goto 2<br> if %op%==48 goto 3<br> if %op%==1.17 goto 4<br> if %op%==3 goto 5<br><br>:1<br>cls<br>echo correct!!!<br>pause<br>goto menu3<br><br>:2<br>cls <br>goto wrong<br>:3<br>cls <br>goto wrong<br>:4<br>cls <br>goto wrong<br>:5<br>cls goto wrong<br>:menu3<br><br><br>echo ____________________________________<br>echo grade 3!!!!!!!!!!!!!!!!!<br>echo ____________________________________<br><br><br>echo what two mixtures fizzs and makes Co2<br>echo.<br>echo [1] water boiling<br>echo [2] viniger and baken sota<br>echo [3] salt and water<br>echo [4] none of the above<br>set /p op=Run:<br> if %op%==1 goto 1<br> if %op%==2 goto 2<br> if %op%==3 goto 3<br> if %op%==4 goto 4<br><br> :1<br>cls<br>goto wrong<br> :2<br>cls <br>echo correct<br>Pause<br>goto menu3<br>:3<br>cls<br>goto wrong<br>:4<br>cls <br>goto wrong<br><br>:menu3<br>echo ____________________________________________<br>echo grade 4!!!!!!!!!!<br>echo ____________________________________________<br><br>echo what do the lines on the USA flage stand for.<br>echo.<br>echo.<br>echo (tipe a number)<br>echo [1] the 13 first flages<br>echo [2] the the 13 wars we had<br>echo [3] the 13 coleneese<br>echo [4] none of the above<br><br><br>set /p op=run:<br> if %op%==1 goto 1<br> if %op%==2 goto 2<br> if %op%==3 goto 3<br> if %op%==4 goto 4<br><br>:1<br>cls <br>goto wrong<br><br>:2<br>cls <br>goto wrong<br>:3<br>cls<br>echo correct!!!!<br>Pause<br>goto menu4<br>:4<br>cls<br>goto wrong<br><br>:menu4<br><br><br>echo ___________________________________________________________<br>echo Grade 5 !!!!!!!!!!!!!!!!!<br>echo ___________________________________________________________<br><br>echo.<br>echo.<br>echo.<br><br><br>echo what does DC (use for batteryed powered devices) stand for? No spaces inputwin the numbers. <br>echo [1] defective/ [1] current <br>echo [2] denetic / [2] curcit <br>echo [3] direct / [3] computer <br><br><br>set /p op=run:<br> if %op%==31 goto 1<br> if %op%==32 goto wrong<br> if %op%==33 goto wrong<br> if %op%==23 goto wrong<br> if %op%==22 goto wrong<br> if %op%==21 goto wrong<br> if %op%==13 goto wrong<br> if %op%==12 goto wrong<br> if %op%==11 goto wrong<br> <br>:1<br>cls<br>echo correct!!<br>Pause<br>goto menu5 <br>:2<br>cls<br>goto wrong<br>:3<br>cls<br>goto wrong<br>:4<br>goto wrong<br><br><br>:5 <br>cls <br>goto wrong<br>:menu5<br>echo now you have an option you can go duble or <br>echo nothing or be a wimp and take the prize.<br>echo.<br>echo.<br>echo.<br>echo (tip a number)<br>echo [1] be a wimp and take the prize<br>echo [2] go duble or nothing<br><br>set /p op=run:<br><br> if %op%==1 goto wimp<br> if %op%==2 goto 2<br><br>:wimp<br>cls<br>echo press any key to see code.<br>pause &gt;nul<br>echo loading please wait... (not that you have any choice)<br> ping localhost -n 3 &gt;nul<br>echo code is <br>ping localhost -n 2 &gt;nul<br>echo ywn<br>echo press any key to go back.<br>Pause &gt;nul<br>goto menu<br><br><br>:2<br>cls<br>echo no going back.<br><br> ping localhost -n 1&gt;nul<br><br>echo science<br>cls<br>echo A _____ is the only fish that can blink with both eyes. (no caps)<br> <br>set /p op=run:<br><br> if %op%==shark goto sright<br> if %op%==sharks goto sright<br> goto wrong<br> <br><br>:sright<br>echo correct !!!<br>echo click any key to get code<br>pause &gt;nul<br>echo loading please wait...<br>ping localhost -n 3 &gt;nul<br>echo the code is <br>ping localhost -n 2 &gt;nul<br>echo ywn<br>echo click any key to go back to menu<br>goto menu<br><br>:wrong<br>echo INCORRECT <br>pause<br>goto menu<br><br> <br> <br><br>
wow i wonder instend of making a trivia game you can use several commands form atriva game to make an rpg based one basicly with the graphics as the symbols on your arrow key but i havent posted yet because considering a high and rpg bacth game takes lot of effort becuase your constantly trying to balnce a level of programing and graphics on your batch rpg game and another thing is use your own batch creavtiviy to make an rpg!!! also a word of warning not all games that put in batch are atcully games because if does has the words delete or something it is a bacth viris!!!!so you have to read the code first before you copy,paste turn em into batch!!!!!!!!!!!
i made my own program <br>I'm William Jason Noda<br>14 yrs old<br>this a comand<br><br>color 0a<br>title Guess-my-number Created by: William Jason Noda<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [ ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][][] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][][][] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][][][][] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][][][][][] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][][][][][][] ]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading<br>echo [[][][][][][][][]]<br>ping localhost -n 2 &gt;nul<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Loading Successfully<br>echo [[][][][][][][][]]<br>ping localhost -n 2 &gt;nul<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>pause<br>cls<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br><br>echo Guess my Number<br>echo.<br>echo.<br>echo.<br>echo.<br>echo.<br>echo Created by:William Jason Noda<br>echo.<br>echo.<br>echo.<br>echo.<br>pause<br>:main<br>color 0a<br>cls<br>echo.<br>echo Welcome to Guess my Number<br>echo.<br>echo Mainmenu<br>echo.<br>echo Press &quot;1&quot; and press enter to Start<br>echo Press &quot;2&quot; and press enter to Instruction<br>echo Press &quot;3&quot; and press enter to Quit<br>:a<br>set /p numero=<br>if %numero% EQU 1 goto start<br>if %numero% EQU 2 goto help<br>if %numero% EQU 3 goto quit<br>if %numero% GTR 3 goto invalid<br>if %numero% LSS 3 goto invalid<br><br>:invalid<br>cls<br>color 0c<br>echo.<br>echo Sorry wrong code. Try again<br>echo.<br>pause<br>goto main<br><br><br>:help<br>cls<br>echo Type the number to guess and press enter.<br>echo.<br>echo Would you like to start?<br>echo.<br>echo Press &quot;1&quot; and press enter to go start<br>echo Press &quot;2&quot; and press enter to quit<br>echo.<br><br>:b<br>set /p letter=<br>if %letter% EQU 1 goto start<br>if %letter% EQU 2 goto quit<br>if %letter% GTR 2 goto invalid2<br>if %letter% LSS 2 goto invalid2<br><br>:invalid2<br>echo.<br>echo Sorry wrong code. Try again<br>echo.<br>goto b<br><br><br>:start<br>cls<br>color 0a<br>echo.<br>echo *******************<br>echo.<br>echo Guess my Number<br>echo.<br>echo 1 - 100<br>echo.<br>echo *******************<br>echo.<br><br>:q<br>set /a guess=1<br>set /a num=%random%*99/32676+1<br><br>:w<br>set /p g=<br>if %g% GTR 100 goto wew<br>if %g% LSS 1 goto wew<br>if %g% EQU %num% goto win<br>if %g% GTR %num% goto high<br>if %g% LSS %num% goto low<br><br>:wew<br>echo.<br>echo It said 1 - 1000 can only Guess. Try again<br>echo.<br>goto w<br><br>:win<br>echo.<br>echo You win!<br>echo.<br>set /a win=%win%+1<br>goto scoreboard<br><br>:high<br>echo.<br>echo LOWER!<br>echo.<br>set /a guess=%guess%+1<br>if %guess% GTR 30 goto lose<br>goto w<br><br>:low<br>echo.<br>echo HIGHER!<br>echo.<br>set /a guess=%guess%+1<br>if %guess% GTR 30 goto lose<br>goto w<br><br>:scoreboard<br>cls<br>echo.<br>echo Score Board <br>echo.<br>echo Score: %win% <br>echo guess: %guess% /30<br>echo lose : %lose%<br>echo.<br>echo.<br>pause<br>goto start<br><br>:lose<br>cls<br>color 0c<br>echo.<br>echo YOU LOSE!!<br>echo.<br>pause<br>goto start<br><br>:quit
hey i set the incorrect answers like you said and for some reason when i type in a incorrect answer it closes the window without goin through the message Help pls this is the code if %yourmom%==1 goto Correct if %yourmom%==2 goto Incorrect if %yourmom%==3 goto Incorrect :Correct cls echo THIS PROVES NOTHING!! pause pause goto continued :Incorrrect cls echo DUMBY!! pause pause goto end :continued cls idk what i did wrong
This is something i made quick<br /> they are 2 of em'<br /> they and apart by %'s<br /> enjoy i made these 100%<br /> &nbsp; <br /> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <br /> &nbsp; <br /> &nbsp;@echo off<br /> title The matrix choice<br /> echo welcome to the matrix portal.<br /> echo scripted by Cody Tilkins.<br /> pause<br /> cls<br /> echo n<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo ne<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo,<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo, w<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo, wa<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo, wak<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo, wake<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo, wake u<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo neo, wake up.<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> pause<br /> cls<br /> echo t<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo th<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the m<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the ma<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the mat <br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matr<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matri<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix h<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix ha<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix has<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix has y <br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix has yo<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo the matrix has you.<br /> pause <br /> cls<br /> echo c<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo ch<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo cho<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choo<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choos<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose t<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose th<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the b<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the bl<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blu<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue p<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pe<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue peb<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebb<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebbl<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble t<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to <br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to r<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to re<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to ret<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to retur<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to return<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to return b<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to return ba<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to return bac<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the blue pebble to return back.<br /> pause<br /> cls<br /> echo c<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo ch<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo cho<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choos<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose t<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose th<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the r<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the re<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red p<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pe<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red peb<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebb<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebbl<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble t<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to c<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to co<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to con<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to cont<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to conti<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to contin<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to continu<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to continue<br /> ping 127.0.67.89 -n 1 -w 1 &gt; nul<br /> cls<br /> echo choose the red pebble to continue.<br /> echo (answers: red , blue )<br /> set /p answer= I Choose <br /> if %answer%==blue goto blue<br /> if %answer%==red goto red<br /> :blue<br /> echo you wake up, in your office.<br /> echo you wish you chose the red.<br /> pause<br /> exit<br /> :red<br /> echo you battle people who call you mr. anderson.<br /> echo you woop em'.<br /> echo you win!!!!<br /> echo congradulations, you've went through my batch!!!<br /> echo *claps*<br /> pause<br /> exit<br /> &nbsp; <br /> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br /> &nbsp; <br /> @echo off<br /> title matrix decode<br /> echo created by cody tilkins<br /> pasue<br /> :top<br /> echo 12473157618418501735719827687423&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 54651257189635765397163957693765294751<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 19858732572093509719865476572647&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 40968062863529352820953892650975871153<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 94783647365914592857843760732543&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 45453213453621345605345343154545343123<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 76564275179376597326596975212657&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 63597965393276761590689728718561498675<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 74718275832758676357384658692654&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 85721354713857409285992562376021805724<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 75874526423810475238436572657257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 74265872864717632515615645164454241501<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 84637374845217547375615768659576&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 26587625626525692657726872587092375516<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 72358235728546928572746878276567&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 35873247659862768473873763267973847696<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 28765623958678374861653750372675&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 56486156486948654126465154156115251561<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 91014254365725235874327657433567&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75973287460277584732768276673289763636<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 98324867216576238578167653724525&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37587245623486646810798397174782847263<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 37187587572183765817359713851689&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 76861325618653135052786185273651543873<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 19375861561635483215632875872950&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 213857973587395723r7687816471722596614<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 11765761578176546173656329677573&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 02579738242533653284721365723586562141<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 49817566579278576132754832758489&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 72953832175095383294587542757607025791<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 17857243765928309547317450910473&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 43453213456453523094321942940929432942<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> echo 10988847616247358775126457534273&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 31156156416545421351654564561321465445<br /> ping 127.45.67.89 -n 1 -w 1 &gt; nul<br /> goto top<br /> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br />
For all of you saying it doesn't work, this too happened to me on my first .bat file. There may be two sources to your problems. You could be typing it wrong, so just copy paste it into a notepad file; (If the author is okay with that) Or your problem may be that you have the wrong computer; because I tried to make a .bat file using notepad in a Microsoft windows computer, while the .bat codes were for a Windows XP computer. I may post some codes for a Microsoft Windows computer later, if that is the problem.<br />
When I run the file, the screen is cluttered with "ECHO is not a recognized command" and other such nonsense. Does anyone know how to fix this?
did u save it to notebook and then save as .bat?
Kinda good for beginners, though I spotted an error!<br/><br/>On the choice (starwars) if you type something else then 1, 2 or 3, it will also continue. And becouse :correct is on the next line, it will perform the actions as when you got the question right! So if you type in Yes or Hello or even Luke, it will tell you that you are correct!<br/><br/>To fix this you have a few options.<br/>1. Switch the &quot;incorrect&quot; part with the &quot;correct&quot; part, that way it will (if none of the statements(choices) are true) continue to the Incorrect part, wich is of course better then telling you you are correct.<br/>2. After the choices and before the &quot;correct&quot; Label, put an exit command, so it will exit as soon as you make an invalid choice.<br/>3. The best way would be to have it tell the user, he made an invalid choice and maybe even add a goto so that he can choose again. How do we do that? Simple! Change the code(from the last echo ------ till the correct label) like this:<br/><br/>echo - - - - - - - - - - - - - - -<br/>echo.<br/>pause<br/>:choice<br/>cls<br/>echo Who is that little green guy in Star Wars<br/>echo 1 Yoda<br/>echo 2 Darth Vader<br/>echo 3 Luke<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>echo You have made an invalid choice! Please choose again!<br/>pause<br/>goto choice<br/>:Correct<br/>
It works for me here i'll just add code :<br/><br/>@echo off<br/>color 5d<br/>title Trivia For Dummies<br/>:begin<br/>echo to view Instructions Type 1<br/>echo to play type 2<br/>set /p starwars=choice1~2<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto top<br/>:Correct<br/>cls<br/>echo Type The Number Of The Answer You Think Is Right Then Press Enter<br/>echo type 2 to begin<br/>set /p starwars=choice1~1<br/>if %starwars%==2goto begin<br/>:continued<br/>echo Loading.<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading..<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading...<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading....<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading.....<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading......<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading.......<br/>ping localhost -n 1 &gt;nul<br/>cls<br/>echo Loading........<br/>ping localhost -n 2 &gt;nul<br/>cls<br/>echo Loading.........<br/>ping localhost -n 2 &gt;nul<br/>echo Loading..........<br/>cls<br/>title Trivia For Dummies!<br/>cls<br/>:top<br/>echo.<br/>echo.<br/>echo.<br/>echo.<br/>echo Welcome to Frogman's Trivia!!!<br/>echo.<br/>pause<br/>cls<br/>echo Are You Dumb?<br/>echo 1 Yes!<br/>echo 2 No<br/>set /p starwars=choice1~2<br/>if %starwars%==2 goto Correct<br/>if %starwars%==1 goto Incorrect<br/>:Correct<br/>cls<br/>echo Good, Here We GO!!<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo Sorry This Quiz Isn't For Dumb People Get The Frick Out Of Here!<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo if 1+1=2, what is negative one plus positive one?<br/>echo 1 34<br/>echo 2 1234124<br/>echo 3 0<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Incorrect<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Correct<br/>:Correct<br/>cls<br/>echo YES<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo You are stupid enough that you got it wrong<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo You Have Five Seconds To Choose The Right Answer!!!!!<br/>echo 1DUHHHHHHHHHHH<br/>echo 2 Don't Choose This One!<br/>echo 3 The Right Answer!!!!!!<br/>set /p starwars=choice1~3<br/>if %starwars%==3 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==1 goto Incorrect<br/>:Correct<br/>cls<br/>echo That Was Close<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo You are stupid enough that you got it wrong<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo Chuck Norris!<br/>echo 1 Texas Ranger<br/>echo 2 Retard<br/>echo 3 Awsome!!!!!!!!!<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>:Correct<br/>cls<br/>echo Ya<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo You are stupid enough that you got it wrong<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo Who Is Most Annoying?<br/>echo 1 DEREK<br/>echo 2 Aaron<br/>echo 3 Brian<br/>echo 4 All Of The Above?<br/>set /p starwars=choice1~4<br/>if %starwars%==1 goto Incorrect<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>if %starwars%==4 goto Correct<br/>:Correct<br/>cls<br/>echo CORRECT!!!!!!!!!!!<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo You are stupid enough that you got it wrong<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo :) Which Band?<br/>echo 1 Dot Dot Curve<br/>echo 2 maroon 5<br/>echo 3 Linkin Park<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>:Correct<br/>cls<br/>echo CORRECT!!!!!!!!!!!<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo You are stupid enough that you got it wrong<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo Can A Match Box?<br/>echo 1 yes<br/>echo 2 no<br/>echo 3 mabey<br/>echo 4 no but a tin can<br/>set /p starwars=choice1~4<br/>if %starwars%==1 goto Incorrect<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>if %starwars%==4 goto Correct<br/>:Correct<br/>cls<br/>echo CORRECT!!!!!!!!!!!<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo Dumb Itiot<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo This Is The End<br/>pause<br/>echo Just KIDDING!!!!!!!!!<br/>pause<br/>cls<br/>echo How Many Questions In This Quiz So Far?<br/>echo 1 8<br/>echo 2 4<br/>echo 3 6<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>:Correct<br/>cls<br/>echo THAT IS RIGHT!<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo NOOOOOOO!<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo Hi<br/>echo 1 Say Hi Back<br/>echo 2 ?<br/>echo 3 YES<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/><br/>:Correct<br/>cls<br/>echo CORRECT!!!!!!!!!!!<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo You'r Are Sooooo Dumb<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo Haskdjsahlkdhfksdhflskdjfhiewaeroiufmdaklsfjdheiwo<br/>echo 1 ??????<br/>echo 2 SQRIBBLE<br/>echo 3 walrus<br/>echo 4 Heiroglyphics for an Itiot<br/>echo 5 ....<br/>set /p starwars=choice1~5<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>if %starwars%==4 goto Incorrect<br/>if %starwars%==5 goto Incorrect<br/><br/>:Correct<br/>cls<br/>echo I Don't Know Either<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo Nope!<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo are you dumber than a tin can?<br/>echo 1 YES<br/>echo 2 NO<br/>echo 3 GEORGE CLOONEY!!!<br/>echo 4 MABEY<br/>set /p starwars=choice1~4<br/>if %starwars%==1 goto Incorrect<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Correct<br/>if %starwars%==4 goto Incorrect<br/>:Correct<br/>cls<br/>echo DUHHHHHHHH<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>echo NO! GET OFF THIS QUIZ!!!!!<br/>pause<br/>goto end<br/>:continued<br/>cls<br/>echo what is the square root of 53?<br/>echo 1 23<br/>echo 2 7.28010989<br/>echo 3 8<br/>echo Be Sure To Check Your Calculator!<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Incorrect<br/>if %starwars%==2 goto Correct<br/>if %starwars%==3 goto Incorrect<br/>:Correct<br/>cls<br/>echo Yes, But It Is Prime Thus There Is No Rational Square Root<br/>pause<br/>goto continued<br/>:Incorrect<br/>cls<br/>No Sorry The Square Root Of 53 Is 7.28010989 I told You To Check You're Calculator! I'll Let You Keep Going....<br/>pause<br/>:continued<br/>cls<br/>echo Hot n' Cold<br/>echo 1 Katy Perry<br/>echo 2 Rihanna<br/>echo 3 Linkin Park<br/>set /p starwars=choice1~3<br/>if %starwars%==1 goto Correct<br/>if %starwars%==2 goto Incorrect<br/>if %starwars%==3 goto Incorrect<br/>:Correct<br/>cls<br/>echo Everyone Knows That....<br/>goto Continued<br/>:Incorrect<br/>cls<br/>echo WOW YOU SUCK! WHAT DO U LISTEN TO COUNTRY MUSIC OR SOMETHING??????????!!!!!!!!!!!!?!????!??!?!??!?!?<br/>goto end<br/>:Continued<br/>cls<br/>echo Would You Like To Replay This Quiz?(Y/N)<br/>pause<br/>set /p starwars=choice1~1<br/>if %starwars%==Y goto top<br/>if %starwars%==y goto top<br/>if %starwars%==N goto end<br/>if %starwars%==n goto end<br/>pause<br/>
The link doesn't work
<a rel="nofollow" href="http://uppit.com/d2/6CO66C/cfa62a9db8af8c0b4c25d321bd22ed47/Trivia%20For%20Dummies.bat">My Trivia</a><br/> <br/>Sorry Forgot To Add Link<br/>
Thanks For Your Help! This Is MY Trivia!
doesn't work
Did u copy it to notepad and save as trivia.bat?
And u can't email these types of files for safety reasons
please post download of file! or email to me at qewqwerty@gmail.com thanks!
All you have to do is copy and paste the whole thing into notepad then save as .bat
and i save them to a folder on my desktop so that i can get to them easier dosnt matter just thought i'd put that out there
sorry i have Vista so i dont know if its the same for XP
Very cool!!! Thanks :D
Two q's, tho: What do I save it as, and how do I open it??
Save it as a .bat file. If you are using XP, turn <em>off</em> &quot;hide extensions for known file types&quot; in Tools -&gt; Folder Options before making the file, it's the lamest &quot;feature&quot; ever and makes tasks like this harder. <br/><br/>If you paste the code into notepad, use File -&gt; Save As..., set the filename to something like trivia.bat (the &quot;.bat&quot; is the important part&quot;) and set the file type to all files, not text documents.<br/><br/>You open it by just double-clicking on the file or typing the filename into a command prompt.<br/>

About This Instructable

113,566views

7favorites

License:

More by computerfaker3:Funny Folder Prank How to make a simple Batch trivia game Trivia Game!! 
Add instructable to: