NMY wrote:
its simple... you must find 'my' not 'backpack' like
Code:
uo.findtype('reg','col','my')now you are finding in you, on you and even in bags in your backpack, but injection cant find anything if that bag was never opened, so firstly you must find bags, open it and then you can search for reagents in your backpack

The first part of the script, that:
Code:
dim b[4]
b[0]="0x0E76"
b[1]="0x0E75"
b[2]="0x09A9"
b[3]="0x0E79"
for i = 0 to 3
UO.FindType(b[i],"-1","backpack")
if UO.FindCount() < 2 then
UO.EmptyContainer("0", "finditem", "backpack")
else
for j = 1 to UO.FindCount()
UO.EmptyContainer("0", "finditem[j]", "backpack")
end if
wait(90)
next
is exactly to search any backback and emptycontainer it. The problem, NMY, is if I have 2 bags of the same type, Injection will use only the first one.
I've tried do the macro with the "my" object, but I have to loop the search for reags as many times as I have bags in my backpack, because if not, the script will transfer only the first find item.
For instance, if I have a backpack with NS, GA and MR, and other with SS, BP and SA, the macro will work fine, but if I have one bag with MR, and other with MR, the macro will transfer only the reags from the first bag. So, you've helped me, but I'm still suffering from the same problem.