question with waitmenu

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
selila
Posts: 10
Joined: 2004-10-16 16:32:27

question with waitmenu

Post by selila »

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
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

Post by AGRS »

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.
selila
Posts: 10
Joined: 2004-10-16 16:32:27

Post by selila »

thank you very mush!!!!
GrandMaster
Posts: 16
Joined: 2004-10-04 06:56:35

Post by GrandMaster »

uo.exec('waitmenu Promt Choice')

it's more stabile
Post Reply