С утра написал, забыл нажать кнопку отправить
было бы проще если бы ты подробно описал что именно в твоем представлении должен делать скрипт. Так скать алгоритм.
Code:
sub all()
uo.deletejournal()
WHILE not uo.Dead()
a()
b()
c()
d()
e()
wait(500)
WEND
end sub
sub a()
if uo.injournal("You are frozen") then
UO.Cast("Magic Arrow", 'self')
wait(1500)
uo.deletejournal()
endif
end sub
sub b()
if UO.life<150 then
UO.usetype("0x0F91")
wait(100)
uo.waittargetself()
UO.usetype("0x3F14") ; это что за предмет?
wait(2000)
end if
end sub
sub c()
if UO.mana<40 then
uo.msg(".drink_mana_total")
wait(100)
end if
end sub
sub d()
if uo.injournal("You are too fatigued") then
uo.msg(".drink_refresh_total")
uo.deletejournal()
wait(500)
endif
end sub
sub e()
if uo.injournal("You weak") then
uo.Cast('Cure', 'self')
uo.deletejournal()
wait(1500)
endif
end sub
вот такую редакцию попробуй.