Difference between revisions of "FindCnt"

From Wiki
Jump to: navigation, search
m
Line 22: Line 22:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[findItem|findItem]] || Width=200px | [[Var_findID|#findID]]|| 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 | [[findItem|findItem]] || Width=200px | [[Var_findID|#findID]]|| 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]]   
 
|}
 
|}
 
----
 
----

Revision as of 12:15, 19 August 2005

#findCnt

FindItem System Variables

Description

The #findCnt system variable contains the number of objects that matches what was searched for with the findItem command.

Example

....
loop:
finditem %housesign G_5
if #findcnt < 1
{
gosub placement
}
goto loop
....

See Also

findItem #findID #findType #findX #findY #findZ #findDist #findKind #findStack #findBagID #findMod #findRep #findCol #findIndex

Main_Page Documentation FindItem System Variables