Axe Software Forums
  Quest Developer Forum
  Ignoring words in commands


Author Topic:   Ignoring words in commands
gamer1962 posted 17-06-2002 20:07 BST     
I thought there was a wya to get quest to ignore the word "the" in a command. Ex.

read the sign
read sign

would be the same command. Is there a way to do this ?

MaDbRiT posted 17-06-2002 20:44 BST          
Gamer 1962 wrote;

quote:
I thought there was a wya to get quest to ignore the word "the" in a command. Ex.
read the sign
read sign

I think Quest ignores 'the' in its inbuilt commands already, but for a user command all you need do is add a synonymn making the = a blank space - that'll do it!

Al

Alex posted 18-06-2002 00:23 BST          
You can get some nastiness whereby because the "the" becomes nothing, you end up with *two* spaces (from either side of "the"), which can confuse Quest sometimes.

If you're using the #@...# form in your command declarations, any "the" will be automatically ignored, so I recommend using this rather than a synonym.