I am just starting off at darkbasic professional and have made a text adventure game but i cannot find the problem i try to create exe but it says that the lines near the bottom iz something wrong but i don't know.It could be something in the top that is causing it!I can't find the problem!
Remstart This is a text adventure game im trying to
make
Remend
Start:
Input "What is your name?",Name$
wait key
cls
Input "Are you a boy or girl?",gender$
WAIT key
cls
input "do you want to take this adventure?" ,uniport$
wait key
cls
yes$= "yes"
no$= "no"
Quit$= "Press Escape"
start$= " okay lets start the adventure game?Press and key to continue"
If yes$
Print start$
Else
Print quit$
Endif
Wait key
Cls
Print Name$, " the wonderful " ,gender$, " you are going to go on a text adventure game"
Wait key
cls
riight$= "right"
leeft$= "left"
Input name$, " You have just waken up and dont know where you are it seems you are in a hallway that stretches left to right which way do you go?"
If riight$
Print "You have met a Monster and he was very friendly"
Print "you decide to have some tea with the monster"
Print "But Sadly the moster does not help and instead forces you to drink tea together"
continue$= "Press Escape to quit otherwise press any key to continue"
Print continue$
Wait Key
Cls
Goto Start
If leeft$
Print "you have went down a nice hallway"
Print "You soon reach a door"
Input "open it or no? (yes/no)"
If yes$
Print "You opened the door too fast out of"
Print "excitement and fainted"
Print "Then the monster came from behind and forced you to make tea forever"
Print continue$
Wait key
cls
Goto start
If no$
Input "Do you open the door now? (yes/no)"
If no$
Print "You were are so boring that it took you a whole"
Print "life to open a door"
Print continue$
wait key
cls
goto start
If yes$
Print "You Now are outdoors and notice you were at"
Print "Your friends house so you decide to go home"
Print "Your adventure has ended!"
Input "Did you like it?"
If yes$
Print "Good! Play it again and do some other options "
Print quit$
Wait key
goto start
If no$
Print "Well then the moster forces you to make tea forever"
Print "Prove it?"
Print quit$
Wait key
cls
goto start
Else
Print "type it proper"
Print continue$
Wait key
cls
goto start
Endif
wait key
cls
goto start
Any help would be good!