<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=FindItem</id>
		<title>FindItem - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=FindItem"/>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=FindItem&amp;action=history"/>
		<updated>2026-06-14T17:33:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=FindItem&amp;diff=5695&amp;oldid=prev</id>
		<title>Seg: Protected &quot;FindItem&quot; [edit=sysop:move=sysop]</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=FindItem&amp;diff=5695&amp;oldid=prev"/>
				<updated>2008-04-24T06:56:05Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=FindItem&quot; title=&quot;FindItem&quot;&gt;FindItem&lt;/a&gt;&amp;quot; [edit=sysop:move=sysop]&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:56, 24 April 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Seg</name></author>	</entry>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=FindItem&amp;diff=5694&amp;oldid=prev</id>
		<title>Seg: New page: {{command header|Client}}  {{body|findItem &lt;nowiki&gt;{{&lt;/nowiki&gt;id} &lt;nowiki&gt;|&lt;/nowiki&gt; {type} &lt;nowiki&gt;|&lt;/nowiki&gt; *} [index] [[G] &lt;nowiki&gt;|&lt;/nowiki&gt; [G_{dist}] &lt;nowiki&gt;|&lt;/nowiki&gt; [C] &lt;nowiki&gt;...</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=FindItem&amp;diff=5694&amp;oldid=prev"/>
				<updated>2008-04-24T06:55:47Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{command header|Client}}  {{body|findItem &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;id} &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; {type} &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; *} [index] [[G] &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; [G_{dist}] &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; [C] &amp;lt;nowiki&amp;gt;...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{command header|Client}}&lt;br /&gt;
&lt;br /&gt;
{{body|findItem &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;id} &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; {type} &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; *} [index] [[G] &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; [G_{dist}] &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; [C] &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; [C_{container id}]]|The findItem command finds objects given by their ID (6-8 letters) or any object type (2-3 letters). If no index is given the first object found is returned in the #FIND* variables. If an index is given, the {index}'th object is returned in the #FIND*. If * is used instead of an id or an index, all items of all types will be returned.}}&lt;br /&gt;
&lt;br /&gt;
It is possible to specify multiply object types in the {type} parameter (i.e. NSF_FSF).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;C&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Only objects in containers are returned. (Container must be open)&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;C_{container id}&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Only objects in the container given by {container id} are returned. (Container must be open)&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;G&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Only objects on the ground are returned.&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;G_{Dist}&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Only objects on the ground, and no farther than {dist} are returned.&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;A&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Hidden Objects.&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;CA_{container id}&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Only hidden objects in the container given by {container id} are returned.&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set %regbag XXXXX ; &amp;lt;- replace with your own bag&lt;br /&gt;
&lt;br /&gt;
; find an dagger on the ground within 2 tiles (pickup distance)&lt;br /&gt;
; and picks it up and drops it at a specific position&lt;br /&gt;
finditem TSF G_2&lt;br /&gt;
if #FINDCNT &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
	event Drag #FINDID&lt;br /&gt;
	wait 20&lt;br /&gt;
	click 200 300 p&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
; find a stack of Black Pearl in a specific bag and moves it&lt;br /&gt;
; to a specific position&lt;br /&gt;
finditem KUF C_ , %regbag&lt;br /&gt;
if #FINDCNT &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
	event Drag #FINDID&lt;br /&gt;
	wait 20&lt;br /&gt;
	click 200 300 p&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note|User Contributed Notes&lt;br /&gt;
/docs/Command_findItem.php 	Add Notes About Notes&lt;br /&gt;
Roadkill@no.not&lt;br /&gt;
25-Sep-2004 15:55 	#15&lt;br /&gt;
I noticed the A modifier is not listed, after sending someone here. A search of the forums shows very little written, and the best I could find is Cheffe's initial explanation from the 0092 announcement:&lt;br /&gt;
&lt;br /&gt;
New modifiers explained:&lt;br /&gt;
&lt;br /&gt;
Up to now, only visible items could be found when using FINDITEM. Invisible items had to be ignored because it wouldn't always be clear if they could be found or not or whether they would mess up scripts.&lt;br /&gt;
&lt;br /&gt;
Example: A script drags items out of the backpack and drops them onto a closed bag in the bank box. In that situation, the item can still be found until the bank box gets closed even though the item isn't visible. If I remember correctly, older clients used to clean up those invisible items after a few seconds so it wouldn't be clear at all if they were found or not. This effect used to cause problems because scripts tried to drag items that weren't even on screen.&lt;br /&gt;
&lt;br /&gt;
The A modifier (for Advanced or All) tells FINDITEM to include invisible items in the search. This way you can find many new things including equipment, clothing and backpacks of other characters. You can use A alone or in connection with C_contid. (GA doesn't make sense and thus isn't valid.)&lt;br /&gt;
&lt;br /&gt;
Only use A if it is really required!&lt;br /&gt;
---end of quote from Cheffe.&lt;br /&gt;
Note the last sentence! I expect this is a very slow and time consuming command, thus Cheffe's admonition.&lt;br /&gt;
Roadkill&lt;br /&gt;
&lt;br /&gt;
From this page: http://www.easyuo.com/docs/Command_findItem.php&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{note|User Contributed Notes&lt;br /&gt;
to distinguish mobs from items : #findStack equal to 0 is mobile &amp;lt;br&amp;gt;&lt;br /&gt;
to distinguish corpse types quicker than event Property : #findStack seems to be some type-id&amp;lt;br&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Related Commands ==&lt;br /&gt;
{| style=&amp;quot;background:gainsboro; color:black; border: 2px #aaaaaa solid;&amp;quot;&lt;br /&gt;
| width=250px align=center | [[ignoreItem]]               || width=250px align=center | [[findItem]]                   || width=250px align=center | [[findCnt|&amp;amp;#0035;findCnt]]&lt;br /&gt;
|-&lt;br /&gt;
| width=250px align=center | [[findID|&amp;amp;#0035;findID]]     || width=250px align=center | [[findType|&amp;amp;#0035;findType]]   || width=250px align=center | [[findX|&amp;amp;#0035;findX]]&lt;br /&gt;
|-&lt;br /&gt;
| width=250px align=center | [[findY|&amp;amp;#0035;findY]]       || width=250px align=center | [[findZ|&amp;amp;#0035;findZ]]         || width=250px align=center | [[findDist|&amp;amp;#0035;findDist]] &lt;br /&gt;
|-&lt;br /&gt;
| width=250px align=center | [[findKind|&amp;amp;#0035;findKind]] || width=250px align=center | [[findStack|&amp;amp;#0035;findStack]] || width=250px align=center | [[findBagID|&amp;amp;#0035;findBagID]] &lt;br /&gt;
|-&lt;br /&gt;
| width=250px align=center | [[findMod|&amp;amp;#0035;findMod]]   || width=250px align=center | [[findRep|&amp;amp;#0035;findRep]]     || width=250px align=center | [[findCol|&amp;amp;#0035;findCol]] &lt;br /&gt;
|-&lt;br /&gt;
| width=250px align=center | [[findIndex|&amp;amp;#0035;findIndex]]&lt;br /&gt;
|}&lt;br /&gt;
=See Also=&lt;br /&gt;
{{Client}}&lt;/div&gt;</summary>
		<author><name>Seg</name></author>	</entry>

	</feed>