|
fisban_Regner Beginner
Joined: 05 Nov 2020 Posts: 14
|
Posted: Sun Dec 06, 2020 7:02 pm
issues with a yes no command |
here is my alias
#ALIAS startpatrol {
#T+ patrolling
#T+ plants
#yesno "what area are you patroling?" {*West:#t+ west} {East:#t+ east}
}
i am getting an error at #yesno "what area are you patroling?" {*West:#<- syntax error but i dont understand why as i have see it done this way on the forum and in the help file
sample from help
#YESNO "Where to you want to go today?" {Temple:.temple} {Guild:.guild} {*Microsoft:#URL http://www.microsoft.com}
i do want to add that i am running on windows xp 64 sp2 as zmud doesnt run correctly on windows 10 and i dont want to learn a new software |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Sun Dec 06, 2020 10:00 pm |
Works fine on my end, but I am running windows 10.
Oh, you meant zMUD (this is the CMUD forum.)
It was never intended to run on more modern Operating Systems, there is no guarantee of compatibility. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
mikeC130 Apprentice
Joined: 03 Jul 2006 Posts: 110
|
Posted: Mon Dec 07, 2020 6:16 pm |
According to the (VERY sparse) information in the ZMUD manual on this command, yesno seems to work differently for ZMUD than CMUD. In the ZMUD manual, it only states that a dialog box is presented and a true or false value generated depending on the box selected. So it appears that you can't provide labels for your buttons in zmud, and are limited to just yes and no for your options - this also means that you can't have three possible answers as you can in CMUD.
Mike |
|
|
|
|
|