|
Jerran Apprentice
Joined: 10 Oct 2000 Posts: 157 Location: USA
|
Posted: Thu Apr 19, 2012 1:06 am
MXP under zMUD |
I'm a coder for a MUD that has a buggy implementation of MXP, and I keep getting MXP tags (example follows) popping up, making it hard to read long descriptions and exits. Is there any way to gag just the tags themselves and not the entire line?
Here is an excerpt from the MUD:
Quote: |
MXPThis is the foyer of the Governor's Mansion. A spiraling staircase leads up to the top floor while a solid wooden door lies to the west that leads to a grand lounge. A dining hall is to the east.
MXPMXPMXPThere are five obvious exits: MXPwestMXP, MXPnorthMXP, MXPeastMXP, MXPupMXP and MXPsouthMXP.MXP
|
|
|
_________________ -- J -- |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Thu Apr 19, 2012 8:58 am |
Did you try making an MXP trigger for each tag?
As a coder, you can also ensure that the codes are being sent to the user properly. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Jerran Apprentice
Joined: 10 Oct 2000 Posts: 157 Location: USA
|
Posted: Fri Apr 20, 2012 2:55 am |
I'm actually still learning to code and know nothing at all about MXP stuff, so I wouldn't know if it's being properly sent or not. As for making an MXP trigger for each tag, as mentioned before, I'm totally clueless on how it works (or is supposed to), and I don't really know how to make anything more advanced than a simple trigger to, for example, list who's online after it tells me when my last login was.
|
|
_________________ -- J -- |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Apr 20, 2012 3:10 am |
Try this:
Code: |
#TRIGGER {MXP} {#SUB {}} |
|
|
|
|
Jerran Apprentice
Joined: 10 Oct 2000 Posts: 157 Location: USA
|
Posted: Fri Apr 20, 2012 9:34 pm |
Thanks, that worked!
|
|
_________________ -- J -- |
|
|
|
|
|