• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Determining the A number of B item in C slot inside D bag?

foromoro

Well-known member
Joined
Dec 2, 2019
RedCents
233¢
Sorry to come back to old and horrible macro code :( but I think this is more of a TLO thing than anything else. But I am trying to /echo back the specific number of an item in a specific slot in a specific bag.

By way of example, I want to determine how many Orb of Shadows are in the first slot (ItemSlot2 0) of my first bag (pack1 or ItemSlot 23). I can tinker enough with ${FindItem} and ${FindItemCount} but so far I have generally only been able to determine what slot an item is in, what item is in a slot, or how many total items I currently have. But not any kind of way to combine the TLOs and data types to determine how many of a specific item exist in a specific slot in my bag. Anyone got any insight?

I promise one day I'll actually get around to learning Lua. :(
 
As usual, I figured it out after asking. I was looking at the wrong TLOs. I was able to obtain my desired result with ${Me.Inventory[pack1].Item[1].Stack}
 
Question - Determining the A number of B item in C slot inside D bag?

Users who are viewing this thread

Back
Top
Cart