Thank you!!
So this is the best way?
Code:
sub droptest()
var n
DIM ID[7]
ID[0] = '0x0F16 CONTAINER'; amesthysts
ID[1] = '0x0F10 CONTAINER'; emerald
ID[2] = '0x0F0F ground'; star sapphire
ID[3] = '0x0F18 ground'; tourmaline
ID[4] = '0x0F26 ground'; diamond
ID[5] = '0x0F11 ground'; sapphire
ID[6] = '0x0F15 ground'; citrine
ID[7] = '0x0F13 ground'; rubi
For n=0 To 7
if uo.count(MID(ID[n], 0, 6)) >=1 then
wait(1600)
UO.FindType(MID(ID[n], 0, 6),'-1','my') ;
uo.moveitem('finditem', '0', MID(ID[n], 7, 9))
endif
Next
end sub