Page 1 of 1

a little question

Posted: 2004-09-08 13:19:15
by colarzy
its about waitmanu,there are 3 necklaces they all called necklace but looks different,how do i choose second or third one?

Re: a little question

Posted: 2004-09-08 15:26:43
by Edred
colarzy wrote:its about waitmanu,there are 3 necklaces they all called necklace but looks different,how do i choose second or third one?


You can use 1 or 2 or 3 for choice... For example:
UO.WaitMenu( 'Neclaces', 2 )

Posted: 2004-09-09 03:48:06
by colarzy
i wrote it like this:
UO.exec("waitmenu 'What would you' 'Jewelry' 'What would you like' 'Necklace',2")
but it doesnt seem to work,can u help me?

Posted: 2004-09-09 05:54:40
by Thdin
colarzy wrote:i wrote it like this:
UO.exec("waitmenu 'What would you' 'Jewelry' 'What would you like' 'Necklace',2")
but it doesnt seem to work,can u help me?


Try this instead:

UO.Waitmenu('What would you' 'Jewelry' 'What would you like' 'number of necklace as it appears')

Let's say after opening the Jewelry menu, you see 3 necklaces with identical names. Instead of using the name then use a number to define it. If you want the second necklace, use that after 'What would you like' :) This should work.

Posted: 2004-09-09 07:52:06
by colarzy
u mean like this?

UO.exec("waitmenu 'What would you' 'Jewelry' 'What would you like' '5'")

but it still doest work:

what would u like to make?->jewelry
Menu choice successful
what would u like to make?->5
Menu choice not found:menu cancelled

:(

Posted: 2004-09-09 19:20:15
by Yoko
UO.exec("[yhlp_waitmenu] What Jewelry What (5")

choice-by-number-in-list must be encircled by parentesis ( ), or at least the left parentesis (
like (5) or (5

other possible indirect choices:
(last) (random) (cancel)