Need Help to Fix

February 4, 2013 at 06:59:46
Specs: Windows XP

Hi I'm newbie need help to fix my script !
I try to create chatbot in bat script but need more suggestion for making realistic chatbot with brain and knowledge.
this is that script :

@ echo off
title STILL BLACK chatbot
: early
color 1b
: start
echo hi, how are you ??!
set /p how=
echo oh %how% doing the same with me!
pause
echo My Name STILL BLACK !!! Who's your name ?
set /p name=
echo Nice to meet you echo %name%!
pause
echo how old are you %name% ?
set /p age=
echo hmmm ... %age% !
pause
echo where do you live ?
set /p live=
echo exactly where is %live% that place?
set /p exactly=
echo wow %exactly% I rather not be there?!?
goto start


See More: Need Help to Fix

Report •


#1
February 4, 2013 at 09:08:27

Labels must be coded as :start :early and so on not : start : early, i.e. space after colon is not allowed.

Report •

#2
February 5, 2013 at 01:57:59

can you help me some idea to add more script to make this better chatbot because I'm lack of knowledge about bat script :)

Report •

#3
February 5, 2013 at 07:41:56

I guessed your knowledge of batch scripting does not suffice to code a chatbot, however here the problem is not knowledge but the tool itself. Batch is aimed to automate system control and is not suited to alphanumeric processing. A true programming language is needed you can master without uncertainty. Artificial intelligence is not for newbie.

Report •

Related Solutions

#4
February 8, 2013 at 21:15:34

maybe something wise if you can share knowledge to be learned by those who do not know

Report •

#5
February 9, 2013 at 02:56:11

Well, I understand you may be disappointed, but be aware Programming Forum is a place where people post specific questions to get help assumed they master the required knowlege to implement the hints.

Here the key point: you can get tips NOT a full class on the general issue. If you want help to solve an equation and you can't master algebra there is nothing to do. Your chatbot script is a programming challenge that needs a good knowledge of batch scripting and logic rules. According to my example this is not an algebraic eqution but advanced calculus.

First of all you need to own a strong knowledge of batch language and you can google to find websites offering free tutorials surely better than I can give (by the way English is not my mothertongue since I am italian). Then programming practice must follow; eventually you may find the required help on Programming Forum.

To see how complex may be batch scripting type help | more to get the full index of batch op codes and then explore them by help op-code (e.g. help set).

Houses are built from the basement not beginning from the roof.


Report •


Ask Question