Okay, this:
dofile("tm_subs_collection8.lua")
temp = {}
count = 0
count, temp = TM_FindItemsByID(3709)
if count > 0 then
print(count)
end
Finds every small wooden box locked down next to me. There are 20 of them. If I then wanted to open each one, would I need to build an array assigning all of them to 1 thru 20, then proceed to UO.Macro(17,0) them one at a time?
I know TM built an [ignore] option in, but reading his documentation doesn't make syntax immediately clear. Theoretically, i should be able to open and ignore each one in turn, then proceed to the next.
-- TM_FindItem(ids, locations, containers, dist, ignore) -- locates multiple IDS/TYPES on either ground or container, and at specific distances
-- return count(sum of items), stacks(sum of stacks), matches(table of all matching items)
-- ignore - table of items previously ignored