Inscription
Posted: 2004-08-09 14:20:39
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:
my code:
Code: Select all
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