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

Inscription
http://forum.yoko.com.ua/viewtopic.php?f=3&t=1110
Page 1 of 1

Author:  Chameleon [ 2004-08-09 14:20:39 ]
Post subject:  Inscription

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

Author:  Yoko [ 2004-08-10 14:42:24 ]
Post subject: 

waittargetobject object1 object2

Author:  Chameleon [ 2004-08-10 14:59:10 ]
Post subject: 

awesome, thanks yoko :)

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