Yoko

All sides of Injection
It is currently 2025-12-29 19:43:18

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: question with waitmenu
PostPosted: 2004-10-22 20:31:05 
Offline

Joined: 2004-10-16 16:32:27
Posts: 10
when i use waitmenu
and in one promt have two same name choice ..how can i choice the latter one?

eg..

tinker on ingot .choice .Jewelry then .have three Necklace choice..how can i identify them??

thanks


Top
   
 Post subject:
PostPosted: 2004-10-22 22:18:08 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Menu: "Potions"
Ans1: "Potion"
Ans2: "Potion"
Ans3: "Potion"


To make 1st choice:
UO.WaitMenu("Potions", "Potion") or
UO.WaitMenu("Potions", "(1)") or
UO.WaitMenu("Potions", "(first)")

To make 2nd choice:
UO.WaitMenu("Potions", "(2)")

To make 3rd choice:
UO.WaitMenu("Potions", "(3)") or
UO.WaitMenu("Potions", "(last)")

Or you can use UO.WaitMenu("Potions", "(random)") for random choice.


Top
   
 Post subject:
PostPosted: 2004-10-23 05:17:52 
Offline

Joined: 2004-10-16 16:32:27
Posts: 10
thank you very mush!!!!


Top
   
 Post subject:
PostPosted: 2004-10-29 11:29:10 
Offline

Joined: 2004-10-04 06:56:35
Posts: 16
uo.exec('waitmenu Promt Choice')

it's more stabile


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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