Okay, so I have been watching videos all day on tutorials for DBPro, and so far I think this program is great. There is a lot of potential, especially for me. One problem I am encountering though, which y'all will probably laugh at me for is the if statement.
Well I am making a basic game right now, a text based game in which you will be required to solve problems, and riddles, and will be able to choose the next scenario( kind of like those old "choose your destiny" books we read as kids.)
I have been working on it for about 2 minutes and found a problem. Instead of explaining myself I will just post the code and my error. The error I am experiencing is that it prints the results for both of the answers, yes and no. If you say no, or anything else, including yes it will print the option for yes. Here is what I've got:
Print "Welcome to Justin's first game."
wait 1800
CLS
Print "This is a plain, text based game, not much to it."
wait 2000
CLS
Print "Have fun!!!!"
wait 1500
CLS
Input "So, what is your name? "; name$,
wait 1200
CLS
Print "So it's ";name$,"?"
Input a
if a=yes
Print "Well that's a brilliant name!"
else
Print "Try to be a little more clear then!"
endif
Wait Key
Thanks for the help guys, sorry I'm such a noob