modding:function:itmmatches
Discuss this page on this pages TalkPage
itmMatches
| Syntax | (itmMatches item criteria) → True/Nil |
|---|---|
| Arguments | 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 | condition query, item |
| 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. Return to Functions list
modding/function/itmmatches.txt · Last modified: by 127.0.0.1
