короче этот бутылки делает и берет айрон из сундука и кидает бутылки, если надо измени тип на ожерелья или чего хочешь и качайся
sub Bottles()
repeat
UO.FindType('0x1BEF','0x0000','backpack')
If UO.GetQuantity('finditem')<10 then
UO.FindType('0x1BEF','0x0000','0x4005DC9A') ;serial sunduka s iron
UO.Grab('300','finditem')
wait(300)
Endif
if UO.count('0x0F0E','0x0000')>200 then
UO.FindType('0x0F0E','0x0000','backpack')
UO.setreceivingcontainer('0x4017C062') ;serial sunduka s iron
UO.Grab('0','finditem')
wait(300)
endif
UO.Usetype('0x1EBC')
UO.WaitMenu('Tinkering','Tools','Tools','bottle')
wait (1000)
UO.DeleteJournal()
while not (UO.InJournal("You put") or UO.InJournal("Tinkering failed"))
wait(300)
wend
UO.UnSetReceivingContainer()
wait(200)
until UO.Dead()
end sub
|