I originally thought I could create a simple rule in which typing help
would trigger a message, but can't seem to find anything to do that.
Do you guys have any ideas?
You mean something like this?
<code>
Crying for help is an action applying to nothing.
Understand "help" as crying for help.
Report crying for help:
say "You vainly cry for help.".
</code>
Understand "help" as requesting help.
Requesting help is an action out of world applying to nothing.
Carry out requesting help: say "In Inform 7, no one can hear you scream."
Adam
Thanks! The last line was very lol.
If the command will never do anything other than print a single
message, you can get away with the simpler:
Understand "cry for help" as a mistake ("In Inform 7, no one can hear
you scream.").
--Aaron
Just to clarify a key difference in the two suggestions:
If the character is crying, then crying for help is not an "out of
world" action.
If the person at the keyboard is crying (emotion or frustration),
that's out-of-world.
A message mentioning Inform 7 is certainly an out-of-world reference.
Well I dunno about that. If someone cries for help out-of-world, do
they make a sound? Hmm...
-R
More pragmatically, I prefer to keep the hint command as out-of-world,
so, for example, if the player asks for help in a dark room, he doesn't
get help but then immediately get eaten by a grue.
Adam