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
Jerran
Apprentice


Joined: 10 Oct 2000
Posts: 157
Location: USA

PostPosted: 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 --
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: 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
Reply with quote
Jerran
Apprentice


Joined: 10 Oct 2000
Posts: 157
Location: USA

PostPosted: 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 --
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Fri Apr 20, 2012 3:10 am   
 
Try this:
Code:
#TRIGGER {MXP} {#SUB {}}

Reply with quote
Jerran
Apprentice


Joined: 10 Oct 2000
Posts: 157
Location: USA

PostPosted: Fri Apr 20, 2012 9:34 pm   
 
Thanks, that worked! Smile
_________________
-- J --
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