I've been working on a text adventure game in CMD.
I have all my inputs and what-not entered, but I was curious if there was a way to have CMD state "I don't recognize this ____" (____ = object, or command, or verb, etc..) if the player inputs something it does not recognize.
Lets say my inputs are as follows:
if %input1% equ bed goto bed_1 if %input1% equ door goto door_1 if %input1% equ TV goto tv_1 ...
Now the basic flow is as follows:
CMD: Examine What?
In the blank if the player was to put "knife" and there was no knife I want CMD to say it does not recognize that.
Is there a "if %input1% (does not equal) bed,door,TV say (or goto) 'I dont recognize this' "
Let me know if you need me to clarify anything.
Thanks in Advance.
- Damon E. Washington