Difference between revisions of "FindID"
From Wiki
m (Changed "findkind" to "#findkind") |
|||
Line 11: | Line 11: | ||
goto findAgain | goto findAgain | ||
} | } | ||
− | if findkind = -1 | + | if #findkind = -1 |
halt | halt | ||
msg #findid is the ID of the gold in my bag. I have exactly #findstack gold on me.$ | msg #findid is the ID of the gold in my bag. I have exactly #findstack gold on me.$ |
Revision as of 20:12, 2 December 2005
⇒ | 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
Main Page | Documentation |