ifpinventory <inventory item> <value>
Returns true if the current amount of the inventory item being tested is not equal to <value>. Valid values for <inventory item> are:
Inventory amounts may also be tested and adjusted using the player member functions.