Yoko

All sides of Injection
It is currently 2026-03-10 13:02:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Magery macro in RunUO
PostPosted: 2004-07-21 21:18:01 
Offline

Joined: 2004-07-17 16:42:24
Posts: 17
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


Top
   
PostPosted: 2004-07-22 03:05:22 
Offline

Joined: 2004-07-01 06:02:22
Posts: 36
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited