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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
ciphermagi
Newbie


Joined: 24 May 2013
Posts: 1

PostPosted: Fri May 24, 2013 3:52 pm   

Variables inside of #MENU
 
Good morning, all. I am trying to use an alias in a class to auto-populate a submenu so that I can distribute this to other people. I am having fair success with almost everything, except the following trigger:

Code:
Pattern: *~[(%a)~] (%w)%s

#CLASS cGateLocations {menu}
#MENU %2 {
#EXE {gate %1}
#WA 10000
#EXE {enter portal}
}


My output for every submenu object is:

Quote:
#EXE {gate %1}
#WA 10000
#EXE {enter portal}


I should be getting this result (let's say for Haven):

Quote:
#EXE {gate haven}
#WA 10000
#EXE {enter portal}


Is there any way to force the trigger script to put the captured text into the menu item instead of the variable reference?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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