Blogs Tutorial

Quiz Making - Batch Files - Windows Computers Only [Pop Reel]

  • 1.1k views 0 today
  • 3
  • 4
  • 4
TeamCityCraft
Lvl 27Expert Miner
7
Hello there people from PMC! Today I'm going to show you all how to code/program/create a batch file quiz/game. You may be asking what does this have to do with Minecraft? Well, you can make Minecraft quizes! Which I'm infact working on some now!

So lets get in to the design/making of the quiz.

First, you need to open notepad then type:

There is a optional thing that I will show in this spoiler


Optional Item (Loading Screen)
@echo off
color 0f
echo This is a random optional loading screen.
echo Will load in: 5 seconds
ping localhost -n  5 >nul






You want to start out your code like this:



@echo off
:menu
color (0-9 and A-B-C-D-E-F)
cls
echo Hello! Welcome to this random example.
echo Please choose a number.
echo [ 1 ] Example One
echo [ 2 ] Example Two
set /p number=

if %number% == 1 goto exone
if %number% == 2 goto extwo

:exone
cls
echo This is in a example
echo Made by TeamCityCraft
echo [ 1 ] Menu
set /p number=

if %number% == 1 goto menu


:extwo
cls
echo This is in a example
echo Made by TeamCityCraft
echo [ 1 ] Menu
set /p number=

if %number% == 1 goto menu

And you can just keep going. So thanks for listening / watching. I am learning more code everyday. I may update this, teach how to do Java/C++ or C+ or HTML. At the moment, I just have the Notepad version (Windows computers any version)

More like this

  Have something to say?

ima7433
04/03/2014 11:50 pm
Level 14 : Journeyman Warrior
This is gold
1
TeamCityCraft
04/03/2014 11:57 pm
Level 27 : Expert Miner
Haha
1
ima7433
04/04/2014 12:02 am
Level 14 : Journeyman Warrior
I want to try this.  It seems so cool you can do this on notepad.
1
TeamCityCraft
04/04/2014 12:14 am
Level 27 : Expert Miner
Its fun and easy, I'm getting ready too post a quiz that I just finished 10 minutes ago.
1

Welcome