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
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)
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
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)
Tags |
tools/tracking
2835759
6
quiz-making---batch-files---windows-computers-only
Create an account or sign in to comment.