|
broadnax Beginner
Joined: 15 Oct 2000 Posts: 29 Location: USA
|
Posted: 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 |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: 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 |
|
|
|
|
|
|
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
|
|