JeLlYBeD

Estimable
Jun 22, 2015
3
0
4,510
Im maing a bat file RPG and im creating the text that tells you health and other game variables. so when i set the variables it will not show in the actual text when i run the file.
Heres what the file looks like:

@Echo off
color 02

Echo -------------------------------------------------------------------------------
Echo Enter character name. Then hit enter.
Echo -------------------------------------------------------------------------------
set /p name=

set /p health==100
set /p weapon==Sword.Wooden_Sword
set /p helmet==Helmet.Leather_Helm
set /p ChestPiece==Chest.Leather_Body
set /p Leggings==Legs.Leather_Chaps
set /p Boots==Boots.Leather_Boots
set /p stamina==100
set /p Place==Area.Start_Plains
set /p Status==Status.Healthy
set /p gold==0

:TEST
cls
Echo -------------------------------------------------------------------------------
Echo - %health%
Echo - %weapon%
Echo - %helmet%
Echo - %ChestPiece%
Echo - %Leggings%
Echo - %Boots%
Echo - %stamina%
Echo - %Place%
Echo - %Status%
Echo - %gold%
Echo ------------------
Echo - %name%
Echo -------------------------------------------------------------------------------
Pause>nul

i've set the variables with 1 equals sign also. still wont display the variables i need.
Ex:
2 equal signs
set /p health==100
1 equal sign
set /p health=100
Both DO NOT display the health variable at %health%