> I have a bartender I want to answer questions.
> However, for some reason the routines fall through to the default answer:
> [Code] if (noun == 'menu') [Code]
^^^^
Aha! You can't do this. :-)
If you want to check against a dictionary word instead of comparing with
an actual *object* - which the menu isn't, because there's no actual menu in
the game - you have to use the variable "special_word" instead of "noun".
You may find it better - though more complex - to use real objects for
every topic you can ask people about, and to munge the scope definition so
that you can ask people about these topics. Then the parser can do more of
the thing-asked-about-interpretation for you: you could ask the waiter about
"alcoholic drinks" as well as "drinks", for example.
See the bit in the manual about implementing "What is a grue" if you can
be bothered to do this.
BCNU, AjC