Inscription

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Chameleon
Posts: 4
Joined: 2004-08-09 14:17:33

Inscription

Post by Chameleon »

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: 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
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

waittargetobject object1 object2
Chameleon
Posts: 4
Joined: 2004-08-09 14:17:33

Post by Chameleon »

awesome, thanks yoko :)
Post Reply