Regional FlagTweaking a Trade MacroSource
avatar
Ohhmagic
Target Source
#0 - 2007/08/31 10:40:21 AM
Ok so I have this macro and I need to more help tweaking it.

Q u o t e:
/run for i=0,4 do for x=1,GetContainerNumSlots(i) do y=GetContainerItemLink(i,x) if y then if GetItemInfo(y)=="Conjured Glacier Water" or GetItemInfo(y)=="Conjured Croissant" then PickupContainerItem(i,x); DropItemOnUnit("npc"); end end end end


It currently picks up food and water from my bag and drops it into the trade window. That all works perfectly but it tries to move all of my stacks. Is it possible to set this to only pickup one stack of each?

Thanks in advance,

avatar
Blue Poster
Target Source
#1 - 2007/08/31 01:18:17 PM
Q u o t e:
Ok so I have this macro and I need to more help tweaking it.



It currently picks up food and water from my bag and drops it into the trade window. That all works perfectly but it tries to move all of my stacks. Is it possible to set this to only pickup one stack of each?

Thanks in advance,

I really suck at loops and such, but why are you doing it 4 times?