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
wulv
Newbie


Joined: 01 Oct 2004
Posts: 9

PostPosted: Fri Oct 01, 2004 12:15 pm   

Problems with Speed Menu
 
I want to create a list of speed menu items that are categorized so that my combat ones aren't showing unless I click on "Combat" or something to that extent.

I read the 7.05 help file but everything I tried didn't work. I followed the example almost word for word twice and both times they caused a memory error that made my Zmud unstable and I had to reboot to clear it out.

Any help with this would be great.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Oct 01, 2004 6:49 pm   
 
"I followed the example almost word for word".
I did follow the example word for word and it works exactly as described. Your problem must lie in the almost part, but unfortunately you didn't tell us what you did different.

Submenus come in two general types. The #MENU command uses the type which expands when the heading is highlighted, not the type which doesn't expand until clicked on. I don't know of any way to change this.

Here's another example. There's no significant difference between it and the example in the helpfile, but just seeing different words used might help you understand.
#CLASS {CombatMenu} {menu}
#MENU {kill} {kill %selword}
#MENU {kick} {kick %selword}
#MENU {heal} {get health pack;quaff health}
#CLASS 0
#MENU {Combat} {} {} {CombatMenu}
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
wulv
Newbie


Joined: 01 Oct 2004
Posts: 9

PostPosted: Fri Oct 01, 2004 8:04 pm   
 
Thanks Light...Your example worked...dont' know what was wrong before but it works now so I'm not complaining.
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