Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anyone interested in making a text adventure as a group?
#65
No, it's reading the command that was entered.

K, I left off adding the space to the end.

Code:
FOR I = 1 TO LEN(IN$)
WHILE ALLETT$ <> CHR$(32)
   ALLETT$ = UCASE$(MID$(IN$,I,1)
   a = a + 1
WEND
NEXT I
a = a - 1

Here's what I was going for:
You type in what you want to do. Then, the computer searches through the command bank and takes out the command you typed. If the phrase after the command is recognised, then print out the appropriate command. Theoretically, it should work. It's kinda hard to explain when using a computer without QB/FB (I don't have internet at home)...

But, we should create a list of general commands that can be used through the game.
Reply


Messages In This Thread
Anyone interested in making a text adventure as a group? - by j2krei08 - 10-18-2005, 06:15 PM
been thinkin - by zoasterboy - 10-22-2005, 10:54 AM
sorry! - by phycowelder - 10-23-2005, 12:13 PM
before... - by zoasterboy - 10-24-2005, 07:43 AM
story line - by zoasterboy - 10-25-2005, 04:47 AM
yah - by zoasterboy - 10-25-2005, 07:26 AM
main menu - by zoasterboy - 10-26-2005, 05:13 AM
joining - by phycowelder - 10-26-2005, 05:25 AM
^^ - by zoasterboy - 10-26-2005, 05:27 AM
Anyone interested in making a text adventure as a group? - by Anonymous - 10-26-2005, 05:34 AM
Re: ^^ - by Liquid Snake - 10-26-2005, 06:18 AM
cool! - by phycowelder - 10-26-2005, 06:56 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)