Newbie Inform Question : Syntax for ask?


22 Aug 1995 07:02:30 GMT

I have a bartender I want to answer questions.
However, for some reason the routines fall through to the default answer:

Object Bartender "Bartender" inn
has animate talkable;
with life [;
ask:
if (noun == 'menu')
"I have stew, and cheese tonite.";
if (noun == 'drinks')
"I have Ale, wine, and mead. \;
Which would you like?";
"I'm sorry, but I don't know nuttin' about that.";
];

So if I :

>ask bartender about menu

>I'm sorry, but I don't know nuttin about that.

Any help would be enthusiatically appreciated :)

-Dwight