2
« on: July 27, 2005, 01:00:36 pm »
Hi,
I'm exploring using Hal as a user interface/subject matter expert. I would like to be able to have Hal follow a procedure to guide a user to make choices to accomplish a specific task.
A fininte automaton immediately comes to mind. I see where the dll passes the script the previous user sentence but that may not be enough to discern the current state. Is there a way to have static variables in the script? Maybe there is some other mechanism in place to do what I am talking about. A sample conversation might look like:
Hal: What can I do for you <user>
User: I would like to buy a new car.
Hal: What kind of car?
User: A Cheverlet.
Hal: What model of Cheverolet?
etc....
Can anyone help?
Dave