![](templates/Classic/images/spacer.gif) |
Yoggin Beginner
Joined: 12 Mar 2004 Posts: 14 Location: Sweden
|
Posted: Fri Mar 12, 2004 11:25 pm
Zmud Status Line/Bar |
Ive checked all help files, tried alot of different commands but nothing seemes to work. Is it possible to put colors in the status line or that cant be done? I would appriciate a fast answer when Im in a hurry to solve this problem! [}:)]
|
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Mar 13, 2004 12:03 am |
Yes. The newer versions of zMUD support MXP (HTML) commands in the status bar. So, you can use the <COLOR> tag to add color. For example:
#ST {Hp: <COLOR red>@hp</COLOR>}
would display the @hp variable in color on the status line.
You might need to turn off the "Parse <> for expansion" option in the Parse preferences.
Using MXP you can also put hyperlinks and <SEND> menus in your status bar as desired. It's very powerful. |
|
|
![](templates/Classic/images/spacer.gif) |
Yoggin Beginner
Joined: 12 Mar 2004 Posts: 14 Location: Sweden
|
Posted: Sat Mar 13, 2004 12:41 am |
THANKS ALOT! =)
Been working my ass off to get that to work, thanks for the help mate! ![Very Happy](images/smiles/icon_biggrin.gif) |
|
|
![](templates/Classic/images/spacer.gif) |
Yoggin Beginner
Joined: 12 Mar 2004 Posts: 14 Location: Sweden
|
Posted: Sat Mar 13, 2004 12:41 am |
THANKS ALOT! =)
Been working my ass off to get that to work, thanks for the help mate! ![Very Happy](images/smiles/icon_biggrin.gif) |
|
|
![](templates/Classic/images/spacer.gif) |
Yoggin Beginner
Joined: 12 Mar 2004 Posts: 14 Location: Sweden
|
Posted: Sat Mar 13, 2004 12:42 am |
Oh sorry for spam there, just another question! Is it possible to use #if commands in status line so if Hp goes under a certain amount it get red and even lower it get red,bold?
|
|
|
![](templates/Classic/images/spacer.gif) |
musishun00 Wanderer
![](images/avatars/2725038424173690d8f0b2.jpg)
Joined: 16 Dec 2003 Posts: 77 Location: USA
|
Posted: Sat Mar 13, 2004 2:32 am |
Yes. Since I've never used MXP, my example will use the %ansi function, but it will work the same way.
#ST {HP: %if(@hp<@bleeding,"red",%if(@hp<@dying,"high, red","green"))}
This also uses a couple of nested %if functions. Try it out. Substitute whatever numbers you want for the @bleeding and @dying variables. |
|
|
![](templates/Classic/images/spacer.gif) |
Yoggin Beginner
Joined: 12 Mar 2004 Posts: 14 Location: Sweden
|
Posted: Sat Mar 13, 2004 4:06 am |
Oh thanks, gonna try to check that out later when Im back to scripting again. Thanks alot for the help! [8D]
|
|
|
![](templates/Classic/images/spacer.gif) |
insipid Newbie
Joined: 09 Jan 2003 Posts: 6
|
Posted: Thu Apr 15, 2004 6:49 pm |
Would someone please post the MXP tag to increase the size of the font within the status bar if possible please?
Thanks in advance, |
|
|
![](templates/Classic/images/spacer.gif) |
nexela Wizard
![](images/avatars/3549517644153b10a6a2fb.jpg)
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Fri Apr 16, 2004 1:04 am |
Sure
#HELP MXP
and all of its related helpfiles
<font name size fore back> |
|
|
![](templates/Classic/images/spacer.gif) |
|
|