Start Info Community Spielen
 
 

Morgengrauner Dokumentation

Dateipfad: /home/mud/mudlib/doc//efun/match_command

SYNOPSIS
        #include 

        mixed * match_command (string command, object origin)

DESCRIPTION
        Take the command , parse it, and return an array of all
        matching actions added to  (read:  is the object
        'issuing' the command).

        Each entry in the result array is itself an array of:

          string [CMDM_VERB]:   The matched verb.
          string [CMDM_ARG]:    The argument string remaining, or 0 if none.
          object [CMDM_OBJECT]: The object defining the action.
          string [CMDM_FUN]:    The name of the function to call in
                                CMDM_OBJECT, which may be static.

        The efun is useful for both debugging, and for implementing your
        own H_COMMAND handling.

HISTORY
        Introduced in LDMud 3.3.259.

SEE ALSO
        hooks(C), execute_command(E), command(E), notify_fail(E),
        command_stack(E)


zurück zur Übersicht

YOUTUBE | FACEBOOK | TWITTER | FEEDBACK | IMPRESSUM | DATENSCHUTZ 1992–2022 © MorgenGrauen.