Если в варе то перейти в пис... Медитация... и в вар
если в писе(смешно получилось
Moderators: Murderator+, Murderator
Code: Select all
sub autoMedit()
var LastTimer
; test on Dead()
uo.DeleteJournal()
CheckLag()
while uo.Mana>=uo.INT
wait(1000)
wend
;test on mana
LastTimer=uo.Timer()
;meditation
repeat
wait(100)
;test inJournal()
uo.DeleteJournal()
wend
wend
end sub You Must Die wrote:Code: Select all
sub autoMedit()
var LastTimer
; test on Dead()
uo.DeleteJournal()
CheckLag()
while uo.Mana>=uo.INT
wait(1000)
wend
;test on mana
LastTimer=uo.Timer()
;meditation
repeat
wait(100)
;test inJournal()
uo.DeleteJournal()
wend
wend
end sub
забирай свою медитацию
Code: Select all
sub autoMedit()
uo.useskill('Meditation')
if uo.InJournal('') then
uo.WarMode(0)
uo.useskill('Meditation')
uo.WarMode(1)
end if
end subZWERb wrote:ВСЕ САМ НАПИСАЛ ЧТО ХОТЕЛ!Code: Select all
sub autoMedit()
uo.useskill('Meditation')
if uo.InJournal('') then
uo.WarMode(0)
uo.useskill('Meditation')
uo.WarMode(1)
end if
end sub
Я просто думал что в инже есть проверка на то стою ли я в варе! оказалось нету =-(
Code: Select all
if uo.Warmode()==1 then
Cooper wrote:Все есть просто надо искать:Code: Select all
if uo.Warmode()==1 then
Code: Select all
sub autoMedit()
if uo.Warmode()==1 then
uo.WarMode(0)
uo.useskill('Meditation')
else
uo.useskill('Meditation')
end if
end sub