Yoko

All sides of Injection
It is currently 2026-01-16 19:56:10

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: a little question
PostPosted: 2004-09-08 13:19:15 
Offline

Joined: 2004-07-10 08:53:59
Posts: 3
its about waitmanu,there are 3 necklaces they all called necklace but looks different,how do i choose second or third one?

_________________
Huang Yifei


Top
   
 Post subject: Re: a little question
PostPosted: 2004-09-08 15:26:43 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
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 )


Top
   
 Post subject:
PostPosted: 2004-09-09 03:48:06 
Offline

Joined: 2004-07-10 08:53:59
Posts: 3
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?

_________________
Huang Yifei


Top
   
 Post subject:
PostPosted: 2004-09-09 05:54:40 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
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.

_________________
Use the SEARCH button. That's what it's there for!!! :)


Top
   
 Post subject:
PostPosted: 2004-09-09 07:52:06 
Offline

Joined: 2004-07-10 08:53:59
Posts: 3
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

:(

_________________
Huang Yifei


Top
   
 Post subject:
PostPosted: 2004-09-09 19:20:15 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
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)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited