ciphermagi Newbie
Joined: 24 May 2013 Posts: 1
|
Posted: 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? |
|