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
methonis
Beginner


Joined: 16 Dec 2002
Posts: 13

PostPosted: Mon Oct 02, 2006 5:26 pm   

Speed menu nesting?
 
Hiya,

I'm having trouble figuring this out. I'm sure it's possible, but it's just not working. I'm trying to put submenus within the submenu of a speed menu. And example:
Code:
#CLASS EmoteSubMenu
#MENU "Happy" {} "" "HappySubMenu"
#MENU "Sad" {} "" "SadSubMenu"
#MENU "Angry" {} "AngrySubMenu"
#CLASS 0
#MENU "Emotes" {} "" "EmoteSubMenu"

That part is fine, very simple. Now, what I want is to nest a menu within each of those (Happy, Sad, Angry) i.e.
Top == Emotes ==> SubMenu Emote Types ==> Submenu in each type with emote

Any clues on how to nest them?

Thanks,

Methonis
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Oct 02, 2006 11:16 pm   
 
#MENU "Emotes" {} "" "EmoteSubMenu"

This part is the name of the class folder (with the Submenu option checked) containing all the menu items you want to show when Emotes is expanded. If the EmoteSubMenu does not have the submenu option checked, then all the menu items within it will appear on the same menu as Emotes:

Top-->Emotes
Top-->Happy
Top-->sad
etc

You apply the same concept to Happy, etc that you did to Emotes. Thus, you create a new class folder named HappySubMenu, set the Submenu option on that class folder, and create all the menu items in there for Happy that you want to be shown.
_________________
EDIT: I didn't like my old signature
Reply with quote
methonis
Beginner


Joined: 16 Dec 2002
Posts: 13

PostPosted: Tue Oct 03, 2006 8:46 pm   
 
Missed the submenu option checkbox, that did it.

Thanks! :)
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