I started learning programming a few days ago, and here i am with my first problems. I'm learning something about batch, but there is something in my code that is wrong, can you help me with this?
Specifically, the "goto" command it's not a go to. i've tried to put it in a single line, but it's like the goto doesn't exist. how can i fix it?
@echo off
:INIZIO
set /p "risp=Scegli un pokemon tra: Pikachu, Charizard e Blastoid:"
if [%risp%]=="pikachu" goto UNO
if [%risp%]=="charizard" goto UNO
if [%risp%]=="blastoid" goto UNO
:UNO
echo Bella scelta!
echo Vuoi attaccare o fuggire?
set/P risp=
if [%risp%]=="attaccare" goto battaglia 1
if [%risp%]=="fuggire" goto perdita
set/P risp=
:battaglia 1
echo e allora combattiamo!
echo Vuoi fare un attacco leggero o pesante?
set/P risp=
if [%risp%]==[leggero] echo il nemico sopravvive! ti attacca e il tuo pokemon muore!
goto morte
if [%risp%]==[pesante] echo È superefficace, il pokèmon muore qui davanti!
goto win
:morte
set /p "risp=Continuare?
if [%risp%]=="si" echo e allora andiamo!
goto replay
if [%risp%]=="no" echo hai fallito la tua missione!
goto lose
:replay
set /p "risp=Scegli un pokemon tra:onix e reshiram:"
if [%risp%]=="onix" goto DUE
if [%risp%]=="reshiram" goto DUE
:DUE
echo Vuoi attaccare o fuggire?
set /p "risp=
if [%risp%]==[attaccare] echo e allora combattiamo!
goto battaglia 2
if [%risp%]==[fuggire] echo sei riuscito a fuggire correndo all'impazzata
:battaglia 2
echo Vuoi fare un attacco leggero o pesante?
set /p "risp=
if [%risp%]==[pesante] echo È superefficace, il pokèmon muore qui davanti!
goto win
if [%risp%]==[leggero] echo il nemico non muore, ma la sua mossa non ti sfiora neanche
goto battaglia 2
:win
echo congratulazioni, hai vinto la tua prima battaglia!
pause
:perdita
echo sei scappato, ma non è ancora finita per te. preparati ad altri combattimenti in futuro!
I hope you can help me with this goto,but i need to learn much more about programming. thanks for the help!