|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: 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 |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: 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." |
|
|
|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Mar 01, 2008 5:02 am |
Yeah I meant to say any bold tags.
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: 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! |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: 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." |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Mar 01, 2008 6:56 am |
Sorry.. I missed the ninja. <bold> seems to work too. (Fewer characters )
|
|
_________________ Asati di tempari! |
|
|
|
|
|