_id

lfun
LFUN
  protected int _id (string str, string *ids, string *ads)

DESCRIPTION
  Check if a string matches against given ids and adjectives.

  Arguments:
    str: the string to check.
    ids: the id strings to match against.
    ads: the adjective strings to match against (may be 0).

  Result:
    0 if no match was found, non-0 else.

  P_LAST_ID, P_LAST_VERB and P_LAST_PLAYER are updated appropriately.

  This function is used to implement id() and class_id(). Normally it
  shouldn't be used directly.

IMPLEMENTED
  /std/thing/description

SEE ALSO
  class_id(LFUN), id(LFUN)