Yoko
http://forum.yoko.com.ua/

Magery macro in RunUO
http://forum.yoko.com.ua/viewtopic.php?f=3&t=931
Page 1 of 1

Author:  sillicontoast [ 2004-07-21 21:18:01 ]
Post subject:  Magery macro in RunUO

Someone have at least a very simple macro for RunUO? I'm getting error on the one i've tried to create (long time without playing).

Code:
sub Lightning() 
repeat
While Uo.mana > 10
uo.WaitTargetSelf()
uo.Cast("Lightning")
if uo.hits < 20 then
Uo.BandageSelf()
Endif
Wait(2500)
until false
end sub

Author:  Drakull [ 2004-07-22 03:05:22 ]
Post subject:  Re: Magery macro in RunUO

Your code has several errors, here's corrected:

Code:
 
sub lightning()
 while true
  if (uo.mana >10) then
    uo.exec ("cast 'Lightning" self')
    if (uo.hits <20) then
     uo.BandageSelf()
    endif
  endif
  wait (2500)
 wend
end sub


sillicontoast wrote:
Someone have at least a very simple macro for RunUO? I'm getting error on the one i've tried to create (long time without playing).

Code:
sub Lightning() 
repeat
While Uo.mana > 10
uo.WaitTargetSelf()
uo.Cast("Lightning")
if uo.hits < 20 then
Uo.BandageSelf()
Endif
Wait(2500)
until false
end sub

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/