# Stuff

Peter Wright (pwright@srtb0411-b15.resnet.ubc.ca)
Sat, 7 Dec 1996 13:29:06 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    On Sat, 7 Dec 1996, The Avatar wrote:

    > When you type a word on the moo, how does
    > the moo know where the word is verb on an
    > FO or something like that?  Is it
    > the player_huh_command or soemthing like
    > that?  Thanks.
    >

    The moo first parses the command and then looks for the verb on the
    player, then the direct object, indirect object, and then the room.  If
    it doesn't find that then it does a #0:do_huh  (I think that's the verb)
    and if your using the lambda core, this moves onto the
    $command_utils:do_huh, which calls player:my_huh, then room:here_huh,
    and I think there is a third one I can't remember.  but player:my_huh is
    the one that searches the FOs that the player has.  If none of these
    finds the verb then it gives you the 'I don't understand'