Project

General

Profile

InventorySearch Parameters

Parameters

  • id,#
    • Returns the item with the ID number that matches the one given
  • notid,#
    • Returns the first item in the array that does not match the id given
  • Type,<string>
    • Returns the first item in the array that matches the 'Type' given
  • ExactName,<string>
    • Returns the first item in the array that matches the name given exactly
  • DefaultEquipSlot,<string>
    • Returns the first item in the array that uses this Equipment Slot as its 'default' slot.
  • CurrentEquipSlot,<string>
    • Returns the inventory item that is currently euipped in the given slot.
  • Rarity,<string>
    • Returns the first inventory item in the array that matches the given rarity type.
  • #
    • Argument is between 1 and the total number of items in the array. (used for iteration)
  • <string>
    • Returns the first item in the array with a name that contains the string given (case insensitive)
  • Quantity,#
    • Returns the first item which matches the given quantity exactly
Example: echo ${Me.Inventory[Quantity,15,barbed timber]}