Difference between revisions of "FindID"
From Wiki
m |
|||
Line 5: | Line 5: | ||
{{ro}} | {{ro}} | ||
− | The [[Var_findID|#findID]] system variable contains the id of the object returned by findItem. | + | The [[Var_findID|#findID]] system variable contains the id of the object returned by [[findItem|findItem]]. |
==== Example ==== | ==== Example ==== |
Revision as of 20:50, 15 August 2005
#findID
FindItem System Variables
Description
⇒
The #findID system variable contains the id of the object returned by findItem.
Example
findAgain: finditem POF if #findkind = 1 { ignoreitem #findid goto findAgain } if findkind = -1 halt msg #findid is the ID of the gold in my bag. I have exactly #findstack gold on me.$ halt
See Also
findItem | #findType | #findX | #findY | #findZ | #findDist | #findKind | #findStack | #findBagID | #findMod | #findRep | #findCol | #findCnt |
Main_Page | Documentation | FindItem System Variables |