Introduction: Lets Start

Ok so today we are going to make a talking bat file here.

Need more/any help? comment and I can help you.

Step 1: Making an Input Output Bat File

So today we will create a input output .bat file kinda like we are talking to a robot.
so First Enter the lines of code so we can get a response

@echo off

echo BOT: How are you?
set /p input=Type Good, Ok, or bad:

Step 2: Now Check the Response

Now after that we need to check the response and do something so
This is what I put.

if %input% == Good goto 1good
if %input% == good goto 1good
if %input% == Ok goto 1ok
if %input% == ok goto 1ok
if %input% == Bad goto 1bad
if %input% == bad goto 1bad


Step 3: Moving on Conversation

Now we need to carry on the conversation and add some feedback so put:

:1good
echo That is good!

:1ok
echo Well atlest your ok.

:1bad
echo I am sorry.


This way we can still continue on the topic if the user wants too.

Step 4: Detection Component

so now that we have our code we need to add a little more so copy this code
@echo off

:main
echo BOT: How are you?
set /p input=Type Good, Ok, or bad:

if %input% == Good goto 1good
if %input% == good goto 1good
if %input% == Ok goto 1ok
if %input% == ok goto 1ok
if %input% == Bad goto 1bad
if %input% == bad goto 1bad

:miss[Put a random number here and remove all [] ]
goto main

:1good
echo That is good!

:1ok
echo Well atlest your ok.

:1bad
echo I am sorry.