NPC, hello

I must be blind, as this seems like it should be a very basic question, but I can’t find in the Inform documentation how to handle when the player types FRED, HELLO or similar. I’m thinking that saying hello to Fred is considered as an order to Fred, kind of like how FRED, JUMP could be handled by something like…

Persuasion rule for asking Fred to try jumping: persuasion succeeds. Instead of Fred jumping: say "Fred jumps in place, touching the ceiling easily."; the rule succeeds.

The problem is, I can’t seem to figure out the actual verb that is associated with HELLO. Persuasion rule for asking Fred to try helloing obviously isn’t right. So, how do I get something other than the default “There is no reply” to come up when the player says “FRED, HELLO”?

You might look at the conversation framework (inform7.com/extensions/Eric%20Ev … doc_0.html) which includes support for greeting.

If you turn on actions tracing (“actions on”), you’ll see:

>steve, hello
[answering Steve that "hello"]
There is no reply.
[answering Steve that "hello" - succeeded]

>steve, dfgdfg
[answering Steve that "dfgdfg"]
There is no reply.
[answering Steve that "dfgdfg" - succeeded]

This is mentioned in chapter 7.6.

Thanks! That answers my question.