Difference between revisions of "FindID"

From Wiki
Jump to: navigation, search
m
(See Also)
Line 25: Line 25:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[findItem|findItem]] || Width=200px | [[Var findType|#findType]]|| Width=200px | [[Var findX|#findX]] || Width=200px | [[Var findY|#findY]] || Width=200px | [[Var findZ|#findZ]] || Width=200px | [[Var findDist|#findDist]] || Width=200px | [[Var findKind|#findKind]] || Width=200px | [[Var findStack|#findStack]] || Width=200px | [[Var findBagID|#findBagID]] || Width=200px | [[Var findMod|#findMod]] || Width=200px | [[Var findRep|#findRep]] || Width=200px | [[Var findCol|#findCol]] || Width=200px | [[Var findCnt|#findCnt]]
+
| Width=200px | [[findItem|findItem]] || Width=200px | [[Var findType|#findType]]|| Width=200px | [[Var findX|#findX]] || Width=200px | [[Var findY|#findY]] || Width=200px | [[Var findZ|#findZ]] || Width=200px | [[Var findDist|#findDist]] || Width=200px | [[Var findKind|#findKind]] || Width=200px | [[Var findStack|#findStack]] || Width=200px | [[Var findBagID|#findBagID]] || Width=200px | [[Var findMod|#findMod]] || Width=200px | [[Var findRep|#findRep]] || Width=200px | [[Var findCol|#findCol]] || Width=200px | [[Var findIndex|#findIndex]] || Width=200px | [[Var findCnt|#findCnt]]
 
|}
 
|}
 
----
 
----

Revision as of 13:10, 19 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 #findIndex #findCnt

Main_Page Documentation FindItem System Variables