I need some help!

June 5, 2014 at 11:57:14
Specs: Windows 7
::IMPORTANT SETTINGS::
echo <%date% @ %time%> Startup >> Log.ICARUS
@echo off
title Intellegence Creating Automatically Responsive User System A.K.A. The I.C.A.R.U.S. AI
cls
color 0c

::BASE CODE::

:title
echo ================
echo 1. Start
echo 2. Settings
echo 3. Exit
set /p a=""

if %a%=="1" goto Begin
if %a%=="2" goto Settings
if %a%=="3" exit

set /a c=(%Random% %%2%)

set /a b=(%Random% %%6%)

::MAIN::
:Begin
cls
if %b%==6 echo Welcome, friend! My name is Icarus, whats your name?
if %b%==5 echo Hello, I am Icarus, whats your name?
if %b%==4 echo Welcome! My name is Icarus, whats yours?
if %b%==3 echo I am Icarus, what is your name?
if %b%==2 echo Hello, friend! My name is Icarus, whats your name?
if %b%==1 echo Welcome, I am Icarus, whats your name?
if %b%==0 echo Hello! My name is Icarus, whats yours?
set /p me="My name is "
if %c%==2 echo Welcome, %me% ! How are you today?
if %c%==1 echo Hello, %me% ! How are you today?
set /p mood=""
if %mood%==good echo I'm pretty good today too!
if %mood%==sad echo I'm also kind of sad today, too.
if %mood%==mad echo Tell me about it, people are annoying today.
if %mood%==angry echo Tell me about it, people are annoying today.
if %mood%==confused echo I know, right? There is nothing to do!
if %mood%==happy echo I'm pretty happy today too!
if %mood%==great echo My day has been great as well!
if %mood%==Good echo I'm pretty good today too!
if %mood%==Sad echo I'm also kind of sad today, too.
if %mood%==Mad echo Tell me about it, people are annoying today.
if %mood%==Angry echo Tell me about it, people are annoying today.
if %mood%==Confused echo I know, right? There is nothing to do!
if %mood%==Happy echo I'm pretty happy today too!
if %mood%==Great echo My day has been great as well!
if %mood%==Raving goto RAVE

:ask
set /p d="Ask Me Anything!: "
echo "<%date% @ %time%> %me% asked %d% and the answer was %answer%" >> Log.ICARUS
if %d%=="What is the answer to life and the universe and everything?" echo "42"
if %d%=="How many horns does a unicorn have?" echo "1"

::Fun/Extras and Easter Eggs::

::Settings::
:Settings
cls
echo ================
echo 1. Set Questions
echo 2. Back to menu
echo 3. Check Log
set /p Z=""
if %z%=="1" goto setQ
if %z%=="2" goto title
if %z%=="3" goto LOG
goto settings

:setQ
cls
set /p newQ=Set new question:
set /p newA=Set new answer:
echo "<%date% @ %time%> %me% created new question %newQ% with answer %newA%" >> Log.ICARUS

:LOG
cls
call log.icarus

message edited by benmorgan1


See More: I need some help!

Report •


#1
June 5, 2014 at 11:58:49
my attempt at a batch AI, he has some issues, and I was wondering if someone wanted to help work on it with me ^-^

Report •

#2
June 5, 2014 at 12:02:45
It doesn't navigate to settings, it only goes to :Begin, but I fixed the tag with settings, its there now so don't bother me with that ^-^ also I didn't know what to categorize this under lol soooo I put software problems just cuz it seemed it fits so don't judge >.<

Report •

Related Solutions


Ask Question