Glad to see you're off to a good start!
My advice would be to scan the backpack for that particular item. It is much more reliable than journal scanning. I speak from experience when saying that journal scanning is not executed very well by EasyUO and you'd probably end up using TM's Journal Scanner subs to get it to work every time (and even then it's still quite confusing)
That being said, I'd recommend reading this page:
http://wiki.easyuo.com/index.php/FindItem and looking at the example. I'll give you some additional help that usually clears things up:
Let's start out searching for EVERYTHING in ANY open bag. Your code would read:
(Note: * = a wildcard character meaning it looks for everything)
finditem * C
You can read this as: "Find (finditem) everything (*) in an open container (C)"
Now let's say you have a bag who's ID is ABCDEF. If you want to find everything within that bag, you would do:
finditem * C_ABCDEF
You can read this as: "Find (finditem) everything (*) in an open container (C_) whose ID is ABCDEF (ABCDEF)"
Now the next step is to find everything in a bag who's ID might change for each person (for example, each person's backpack has a different ID, but you don't want to have them type in their backpackid each time). So you have to use a variable like #BACKPACKID. But this causes an issue!! EasyUO does not like the following statement:
finditem * C_#BACKPACKD
So it seems that we are stuck! However, there is a solution! We use the "comma" string concatenator! It's a big word, but it's really simple! The problem with the line above is that the ID of your backpack is not #BACKPACKID it's the actual characters stored IN #BACKPACKID (such as HCAOTD) so EasyUO will never find a bag whose ID is "#BACKPACKID" but it WILL find a bag whose ID is "HCAOTD". What we want to do is pull out the string from #BACKPACKID and add (concatenate) it onto the line "finditem * C_" The way we do this is:
finditem * C_ , #BACKPACKID
The comma says "pull out the string from #BACKPACKID and paste it onto the end of this line!" So the way EasyUO interprets it is actually:
finditem * C_HCAOTD
even though the code is "C_ , #BACKPACKID"
Whew! Glad we got that covered! Now we know how to find everthing in ANY open container, a SPECIFIC open container, AND an open container who's ID could vary for whatever reason! The next step is, finding something specific instead of everything! This is much simpler!!
All items in game have 2 things associated with them (actually they have alot more, but only 2 things that are important here), a TYPE and an ID. The TYPE is the same for all of the same item, such as explosion pots (TYPE = TUF). The type is almost always either 2 or 3 characters. Then, each individual pot (or stack of pots) has it's unique ID. This is the 6 letter ID (such as HCAOTD that was the ID of our backpack above).
So, let's say we want to find ANY explosion pots in our backpack! We would do this:
finditem TUF C_ , #BACKPACKID
If there are multiple things we want to find, we just put a "_" between them such as (GFZ = Gargish Luck Totems)
finditem TUF_GFZ C_ , #BACKPACKID
You can put as many things as you want on the line, although it might be easier to do something like this:
set %itemtypestofind TUF_GFZ
finditem %itemtypestofind C_ , #BACKPACKID
That way you can just keep adding things to the first line!
You can also use the ID instead of the TYPE, but unless you know the exact ID of something, it wouldn't really do you much good (hence why I'm not putting an example in since it is rarely, if ever, used!)
Hopefully this will help you out a little bit! If the item type you are searching for is shared amongst a few different items (EA loves to re-use item types) then you may need to take it a step further and use "event property" on the #FINDID
You can learn more about event property and #FINDID here:
http://wiki.easyuo.com/index.php/Event_Propertyhttp://wiki.easyuo.com/index.php/FindID