Introduction: Special Commands in Batch
These commands you will eventually have to use in making a batch file/game.
Step 1: Color
In batch you can write color (number). Basically you can do any color, check this link for colors http://www.robvanderwoude.com/ntcolor.php I did not make this website.
The color would be Purple and Light Green
Step 2: Cls/Clear Screen
Cls is a command that Clears Your Screen of code, i usually use it after i make a new category.
Echo Hello World
Step 3: Input Commands
To use input commands start by making a way in your code to select.
Echo hello world
Echo 1) Continue
Echo 2) Exit
Set /p c=Enter
If %c% == "1" goto Game
If %c% == "2" goto Exit
What this does is if the user of the command types 1 he/she will go to the Game, if he/she types 2 he/she will go to the exit screen.
C means input basically. So the last 2 lines of code mean If input equals 1 go to game.
Step 4: Leq and Geq
Leq means "Less or Equal To". Geq means "Greater or Equal To". These two words of command can help create shops for games, or making enemies stronger.
Echo 1) Machete 5$
Set /p c=Enter:
If %c% == "1" goto machete
If %money% geq 5 set Dmg +=5 (
If %money% leq 4 goto NotEnoughMoney
We have a be nice policy.
Please be positive and constructive.