Alright, i just started my first text based rpg. The editor is giving me some daft error message over this little bit of code. Can any1 see any problems with it
Type Dialogue
dialogue as string
keytoend as string
endtype
Type Choice
dialogue as string
choice1 as string
choice2 as string
choicekey1 as string
choicekey2 as string
choicemade as integer
endtype
Type room
name as string
description as string
brief as string
exit1 as string
exit2 as string
exit3 as string
exit4 as string
endtype
dim room(10) as room
room(1).name= "hallway"
room(1).description= "A narrow but tall hallway in which you stand"
room(1).brief= "A long hallway"
currentroom= 1
set display mode 1024,768,16
do
input command
if command= "look" then print room(currentroom).description
command = ""
loop
If you forget one little thing i shall have you shaved sterilised and destroyed: Jeffrey Goines