PEEKFIND variable-name = axmud-object-property, expression
PEEKFIND ARRAY variable-name = axmud-object-property, expression

   Synopsis:
      Stores the index of an Axmud internal list property whose value is equal
         to the expression

   Notes:
      PEEK gives Axbasic scripts access to most of Axmud's internal data (see
         the help for the PEEK statement for a full explanation).
      PEEKFIND can only be used with list properties such as
         "world.current.doorPatternList". It cannot be used with a scalar
         property such as "world.current.name", a hash property such as
         "world.current.currencyHash" or a Perl object such as "world.current".
      'variable-name' is set to the index of the first element in the list
         property whose value is the same as the value of the expression. If
         none of the list's values are the same as the value of the expression,
         or if the list is empty, the variable is set to -1.
      PEEKFIND cannot be used to search a list property for the Perl special
         value, 'undef'.

   Examples:
      ! Store the index of the first matching value in an Axbasic global scalar
      ! variable
      PEEKFIND index = "world.current.doorPatternList", "You bump into"

      ! Store the index of the matching value in an Axbasic global array
      PEEKFIND ARRAY indices = "world.current.doorPatternList", "You bump into"

      ! Store the index of the matching value in an Axbasic local scalar
      ! variable
      LOCAL index
      PEEKFIND index = "world.current.doorPatternList", "You bump into"
