for the questionnaire you could reset it so if you put in the right answer it will say correct ex. this chat thing i'm working on
dim fname
dim hi
hi=inputbox("Hi! What's your name?")
fname=inputbox("How are you feeling " & hi & "?")
x=msgbox ("me too",0+64+0+4096 ,"chatbot")
fname=inputbox("what is the meaning of life?")
fname=inputbox("so " & hi & " you think the meaing of life is " & fname)
WScript.Sleep 500
fname=inputbox("so " & hi & " tell me about your self")
fname=inputbox("so your life story is " & fname & "?")
WScript.Sleep 500
fname=inputbox("what is your favorite number?")
if fname="1" then yes=msgbox("is the loneliest number",0+64 ,"1")
if fname="2" then yes=msgbox("is a number",0+64 ,"2")
if fname="3" then yes=msgbox("there are 3 types of mathem" & "aticians those who can count" & " and those who can't",0+64 ,"3")
if fname="4" then yes=msgbox("FORE",0+64 ,"4")
if fname="5" then yes=msgbox("is half of 10",0+64 ,"5")
if fname="6" then yes=msgbox("5<6<7 so 5<7",0+64 ,"6")
if fname="7" then yes=msgbox("the largest prime number under 10",0+64 ,"7")
if fname="8" then yes=msgbox("I h8 snow",0+64 ,"8")
if fname="9" then yes=msgbox("got eaten by 7",0+64 ,"9")
if fname="0" then yes=msgbox("das ist null",0+64 ,"0")
if fname="1000000" then yes=msgbox("so its one million",0+64 ,"1000000")
if fname="666" then yes=msgbox("you satanic on of a -----",0+48 ,"666")
if fname>"10" then yes=msgbox("interesting choice",0+64 ,"?")
if fname>"556" then yes=msgbox("so " & hi & " likes " & fname & "?",0+64 ,"?")
if fname>"7623" then yes=msgbox("crazy number " & fname ,0+64 ,"?")
if fname>"1000001" then yes=msgbox("wow " & fname & " is a pretty big number",0+64 ,"?")
x=msgbox("well " & hi & " my favorate number is",0+64 ,"?")
Randomize
Wscript.Echo Int( ( 1000000 - 1 + 1 ) * Rnd + 1 )
WScript.Sleep 500
x=msgbox ("quick I have to tell you something",0+64 ,"chatbot")
strURL = "
http://www.something.com"
Set objShell = CreateObject("Wscript.Shell")
objShell.Run(strURL)
WScript.Sleep 3000
do
strText = inputbox("i am thinking of a number between 1 and 10. what is your guess?","chatbot")
Randomize
Wscript.Echo Int( ( 10 - 1 + 1 ) * Rnd + 1 )
fname=inputbox("do you wish to play again? in the box below for yes put y if no put n")
loop until fname="n"
if fname="y" then doloop
WScript.Sleep 500
if fname="a" then yes=msgbox("canada eh?",0+64 ,"a")
if fname="b" then yes=msgbox("bound and baffeled by boxes and bags",0+64 ,"b")
if fname="c" then yes=msgbox("is for cat",0+64 ,"c")
if fname="d" then yes=msgbox("Duhhhhhhhhhhhhhh",0+64 ,"d")
if fname="e" then yes=msgbox("entertaining? ego? evil? endoplasmic reticulum? entschuldigung? ect...?",0+64 ,"e")
if fname="f" then yes=msgbox("is for friends who do stuff together",0+64 ,"f")
if fname="g" then yes=msgbox("is for google,your one and true friend",0+64 ,"g")
if fname="h" then yes=msgbox("have you given up yet?",0+64 ,"h")
if fname="i" then yes=msgbox("so you like the lone letter that is" & " used when talking about yourself?",0+64 ,"i")
if fname="j" then yes=msgbox("j isnt very exciting",0+64 ,"j")
if fname="k" then yes=msgbox("m'kay",0+64 ,"k")
if fname="l" then yes=msgbox("l is a lonely letter",0+64 ,"l")
if fname="m" then yes=msgbox("mmmm doughnut *garggle sounds*",0+64 ,"m")
if fname="n" then yes=msgbox("NO!",0+64 ,"n")
if fname="o" then yes=msgbox("ahhhhh a ghost!!!",0+64 ,"o")
if fname="p" then yes=msgbox("my brother tinks that if you combine pink and purple" & " = pikle it is spelt funny on porpose",0+64 ,"p")
if fname="q" then yes=msgbox("isn't Q an odd shaped letter?",0+64 ,"q")
if fname="r" then yes=msgbox("what are you a pirate?",0+64 ,"r")
if fname="s" then yes=msgbox("why did it have to be snakes?",0+64 ,"s")
if fname="t" then yes=msgbox("as in mr.T?",0+64 ,"t")
if fname="u" then yes=msgbox("me?",0+64 ,"u")
if fname="v" then yes=msgbox("i got nothing for this one",0+64 ,"v")
if fname="w" then yes=msgbox("this should be called double-v",0+64 ,"w")
if fname="x" then yes=msgbox("eXactly",0+64 ,"x")
if fname="y" then yes=msgbox("because i want to know",0+64 ,"y")
if fname="z" then yes=msgbox("i need to catch some of those",0+64 ,"z")
if fname="0" then yes=msgbox("that is not a letter",0+64 ,"nice try")
WScript.Sleep 543