Difference between revisions of "FindID"
From Wiki
(→Example) |
(→Example) |
||
| Line 11: | Line 11: | ||
</pre> | </pre> | ||
| + | == Related Commands == | ||
| + | {| style="background:gainsboro; color:black; border: 2px #aaa solid;" | ||
| + | | width=250px align=center | [[ignoreItem]] || width=250px align=center | [[findItem]] || width=250px align=center | [[findCnt|#findCnt]] | ||
| + | |- | ||
| + | | width=250px align=center | [[findID|#findID]] || width=250px align=center | [[findType|#findType]] || width=250px align=center | [[findX|#findX]] | ||
| + | |- | ||
| + | | width=250px align=center | [[findY|#findY]] || width=250px align=center | [[findZ|#findZ]] || width=250px align=center | [[findDist|#findDist]] | ||
| + | |- | ||
| + | | width=250px align=center | [[findKind|#findKind]] || width=250px align=center | [[findStack|#findStack]] || width=250px align=center | [[findBagID|#findBagID]] | ||
| + | |- | ||
| + | | width=250px align=center | [[findMod|#findMod]] || width=250px align=center | [[findRep|#findRep]] || width=250px align=center | [[findCol|#findCol]] | ||
| + | |- | ||
| + | | width=250px align=center | [[findIndex|#findIndex]] | ||
| + | |} | ||
{{footer}} | {{footer}} | ||
Revision as of 23:15, 3 September 2007
| ⇒ | The #findID system variable contains the id of the object at the current #findIndex position. All of the find* variables are populated by using the findItem command. |
Example
finditem POF C_ , #BACKPACKID
if #FINDCNT > 0
{
msg #FINDID is the ID of the gold in my bag. There is #FINDSTACK gold in that stack.$
}
halt
Related Commands
| ignoreItem | findItem | #findCnt |
| #findID | #findType | #findX |
| #findY | #findZ | #findDist |
| #findKind | #findStack | #findBagID |
| #findMod | #findRep | #findCol |
| #findIndex |
See also
| Main Page | Documentation |