Difference between revisions of "FindType"
From Wiki
(→Example) |
|||
Line 4: | Line 4: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | + | finditem * C_ , #BACKPACKID | |
+ | for #FINDINDEX 1 #FINDCNT | ||
+ | { | ||
+ | event sysmessage Found item, the type of that item is #FINDTYPE | ||
+ | wait 20 | ||
+ | } | ||
+ | halt | ||
</pre> | </pre> | ||
Revision as of 23:25, 3 September 2007
⇒ | The #findType system variable contains the type of the object returned by findItem. |
Example
finditem * C_ , #BACKPACKID for #FINDINDEX 1 #FINDCNT { event sysmessage Found item, the type of that item is #FINDTYPE wait 20 } halt
Related Commands
ignoreItem | findItem | #findCnt |
#findID | #findType | #findX |
#findY | #findZ | #findDist |
#findKind | #findStack | #findBagID |
#findMod | #findRep | #findCol |
#findIndex |
See also
Main Page | Documentation |