Functions Documentation
View Function Edit Function
Name itmMatches
Syntax (itmMatches item criteria) -> True/Nil
Argument List item: The itemStruct of the item you want to test.
criteria: The criteria you want to test if the item matches.
Returns boolean: True if the item matches the criteria, Nil otherwise.
Category item, condition query
Description Query function to see if the item matches the criteria. For a description of criteria, see here:
http://wiki.neurohack.com/transcendence/wiki/functionlegend#criteria
Example
(itmMatches (itmCreate 0x4173 1) "w +Alien;")

Returns True.
Comment Very useful and flexible query function for items. One nice use is separating out things without multiple enum.