Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
broadnax
Beginner


Joined: 15 Oct 2000
Posts: 29
Location: USA

PostPosted: Sun Dec 22, 2002 4:50 pm   

Menu & Submenu
 
The situation:
The mud has four guilds
Cleric
Fighter
Mage
Thief

My goal is to create a button at the top
of my screen which I can click, and then
select the guild I am about to play, thus
loading my settings for that guild, and
turning all of the others off. I would also
like to be able to turn them all off from
this menu. I've looked at submenu's in the
help file, but I'm a little "foggy" still.
Any info on how to set up menu's and submenu's woul be appreciated. Thanks

Broadnax
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: Sun Dec 22, 2002 6:43 pm   
 
It sounds like a #BUTTON which calls a picklist should be quite sufficient for this purpose:

#VAR Guilds {Cleric|Fighter|Mage|Thief|None}
#BUTTON 0 {Pick Class} {#FORALL @Guilds {#T- {%i}};#VAR Temp %pick("p:What class are you about to play?","o:1",@Guilds);#IF (@Temp <> "None" and @Temp <> "") {#T+ @Temp}}

You'll need to create your settings in classes called Cleric, Fighter, Mage and Thief. Then this will turn them all off when you press the button and then turn whatever one you select on (unless you pick none or cancel, in which case all are left off).



 - Charbal
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net