Little problem with inscription

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Vampy
Posts: 5
Joined: 2004-04-27 04:02:59
Location: OR
Contact:

Little problem with inscription

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

Re: Little problem with inscription

Post 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
Vampy
Posts: 5
Joined: 2004-04-27 04:02:59
Location: OR
Contact:

Post by Vampy »

thanx Yoko
u r the best!!! :)
OR
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

i was in good mood to answer :)
Post Reply