Hi,
What I want to do is grab an item out of a stack and then perform an action on the item.
eg: stack of 50 cloths, get one cloth out of stack, chop that cloth.
I can do everything except get the single item from the group.
Any help would be great.
Thanks
Proky
Getting item out of stack of items
Moderators: Murderator+, Murderator
Resultent function
Thanks thats wha I needed:
sub ChopBandages()
var vCloths = '0x1765'
var vBag1 = '0x62525a03'
var vMainBag = '0x6272e8d4'
var vClothPile = '0x62754b4d'
var vScissors = '0x0f9e'
while uo.count(vCloths) > 0
uo.findtype(vCloths,-1,vBag1)
uo.grab (STR(1),'finditem')
uo.usetype(vScissors)
UO.WaitTargetObject('finditem')
wait (10000)
wend
end sub
sub ChopBandages()
var vCloths = '0x1765'
var vBag1 = '0x62525a03'
var vMainBag = '0x6272e8d4'
var vClothPile = '0x62754b4d'
var vScissors = '0x0f9e'
while uo.count(vCloths) > 0
uo.findtype(vCloths,-1,vBag1)
uo.grab (STR(1),'finditem')
uo.usetype(vScissors)
UO.WaitTargetObject('finditem')
wait (10000)
wend
end sub