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
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Sat Mar 01, 2008 12:55 am   

Status bar and MXP
 
For some reason you can't put any MXP tags before the first word in the Status bar. Maybe I am not doing it right?

Example:

Code:
<b>Test:</b> <color white black>%if(@test,Yes,No)</color> 


Will display:

Test: %if(@test,Yes,No)

If you take out the tag before and after Test it works fine. You can have tags all over the place but once you put anything before the very first word it corrupts the rest of it.

Without that first bold tag you get:

Test: Yes
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sat Mar 01, 2008 4:43 am   
 
Yeah thats kinda odd, but if you change the <b> tag to <strong> it works out

Code:
<strong>Test:</strong> %if(@balance,"<c green black>Yes</c>","<c red black>No</c>")
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Sat Mar 01, 2008 5:02 am   
 
Yeah I meant to say any bold tags.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Mar 01, 2008 5:09 am   
 
Confirmed. The simplest workaround I can think of is to start it with a benign command link %char(0).

The alternative (which is what I use because it servers other purposes, is to put all that text in a variable, and just display the variable in the status bar.
_________________
Asati di tempari!
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sat Mar 01, 2008 5:21 am   
 
Since <strong> is just an alias for <b> simplest would be to use <strong> instead of <b>
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Mar 01, 2008 6:56 am   
 
Sorry.. I missed the ninja. <bold> seems to work too. (Fewer characters Razz )
_________________
Asati di tempari!
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