Code: Select all
sub main()
var chest='0x404184A8'
var dropbag='0x404184A8'
uo.automenu('What sort of potion do you want to','(2)')
while 1
if uo.bp<10 then
uo.findtype('0x0F7A',-1,chest)
if uo.findcount() then
uo.moveitem('finditem','100','backpack')
checklag()
wait(700)
endif
endif
if uo.count('0x0F0E','0x0000')<10 then
uo.findtype('0x0F0E','0x0000',chest)
if uo.findcount() then
uo.moveitem('finditem','100','backpack')
checklag()
wait(700)
endif
endif
uo.usetype('0x0F7A')
checklag()
waitforchange()
if uo.injournal('You toss') then
wait(5000)
endif
if uo.count('0x0F0E','0x0997')>10 then
uo.findtype('0x0F0E','0x0997','backpack')
if uo.findcount() then
uo.moveitem('finditem',0,dropbag)
checklag()
wait(700)
endif
endif
wend
endsub
sub waitforchange()
var n
for n=1 to 100
if uo.injournal('You toss|You pour') then
return
endif
wait(400)
next
endsub
sub checklag()
repeat
UO.DeleteJournal()
UO.Click('backpack')
until backpack()==1
endsub
sub backpack()
var n
for n=0 to 200
if uo.injournal('a backpack') then
return 1
endif
wait(200)
next
endsub
Здрасти прошу помощи как зделать чтобы он варил не тотал рефреш а просто рефреш
я как понел что тут надо поменять в места 2 надо другую цифру поставить
Code: Select all
uo.automenu('What sort of potion do you want to','(2)')