Page 1 of 1

Little problem with inscription

Posted: 2004-04-27 04:25:32
by Vampy
Well, i have a serious problem...
In my shard inscription works in the next way:
first u must use the inscription skill then a window with the promp "Select what you want" appears. There u should press the icon "Inscribe".
Then u must select the blank scroll. After that a windows with the promp "Select a circle to inscribe", u should click the icon called "Circle 8 spells".
A new window appears with the promp "Select a spell to inscribe" and then u should press the spell u want to copy.

I made this script, but it fails(can't pass the menu with the promp"Select a circle to inscribe":

sub resurectionscroll()
UO.say(",waitmenu 'Select what you want' 'Inscribe'")
UO.say(",waittargettype 0x0e34")
UO.say(",waitmenu 'Select a circle to inscribe' 'Circle 8 spells' 'Select a spell to inscribe' 'Resurrection'")
uo.exec("useskill Inscription")
end sub

Re: Little problem with inscription

Posted: 2004-04-27 15:46:17
by Yoko
Vampy wrote:sub resurectionscroll()
UO.say(",waitmenu 'Select what you want' 'Inscribe'")
UO.say(",waittargettype 0x0e34")
UO.say(",waitmenu 'Select a circle to inscribe' 'Circle 8 spells' 'Select a spell to inscribe' 'Resurrection'")
uo.exec("useskill Inscription")
end sub

this kind of action you written allowed only for automenu, not waitmenu.
because you used second waitmenu after first you cancel first.

so you need to use

Code: Select all

UO.exec("waitmenu want Inscribe circle 8 spell Resurrection")
UO.waittargettype("0x0e34")
uo.useskill("Inscription")

or

Code: Select all

UO.exec("automenu want Inscribe")
UO.exec("automenu circle 8")
UO.exec("automenu spell Resurrection")
UO.waittargettype("0x0e34")
uo.useskill("Inscription")


keep in mind automenu is enough to use once, waitmenu need be used each time before craftgump appears

Posted: 2004-04-27 19:49:42
by Vampy
thanx Yoko
u r the best!!! :)

Posted: 2004-04-28 23:13:36
by Yoko
i was in good mood to answer :)