Yoko

All sides of Injection
It is currently 2026-03-10 13:00:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Inscription
PostPosted: 2004-08-09 14:20:39 
Offline

Joined: 2004-08-09 14:17:33
Posts: 4
On my shard for inscription, you use the skill inscription, then you have to click on the scrolls you want to use(or a spell book) and then on the spell book you want to scribe the spells from... this has me stumped cause if I set the waittarget it cancels the one before it... some help please.

my code:
Code:
sub inscription()
   uo.print("Inscription script by Chameleon(crafter)")
   uo.say(".autoloop 10")
   a:
   uo.exec("waitmenu 'circle to inscribe' '5 spells' 'spell to inscribe' 'Blade'")
   uo.waittargettype("0x0E34")
   uo.useskill("Inscription")
   wait(1000)
   uo.waittargettype("0x0EFA")
   b:
   wait(500)
   if uo.injournal("have enough mana") then
      uo.deletejournal()
      meditation()
      goto a
   end if
   if uo.injournal("finished looping") then
      uo.deletejournal()
      goto a
   end if
   goto b
end sub
sub meditation()
   a:
   if uo.injournal("Meditating") then
      repeat
         wait(1000)
      until uo.mana<>uo.int
   end if
   if uo.mana < uo.int then
      uo.useskill("Meditation")
      wait(8000)
      goto a
   end if
end sub


Top
   
 Post subject:
PostPosted: 2004-08-10 14:42:24 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
waittargetobject object1 object2


Top
   
 Post subject:
PostPosted: 2004-08-10 14:59:10 
Offline

Joined: 2004-08-09 14:17:33
Posts: 4
awesome, thanks yoko :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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