|
RobMacAF Apprentice
Joined: 09 Jun 2002 Posts: 186 Location: USA
|
Posted: Wed Jan 08, 2003 2:59 am
More colors |
Is there anyway to get different colors then just the bold and not bold ones. Maybe use HTML Hex or something?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Jan 08, 2003 3:02 am |
quote:
Is there anyway to get different colors then just the bold and not bold ones. Maybe use HTML Hex or something?
You can check out MXP, which is very much like HTML but different. It has a color tag that works just like the HTML tag, and you can use both colornames or #hex numbers.
li'l shmoe of Dragon's Gate MUD |
|
|
|
RobMacAF Apprentice
Joined: 09 Jun 2002 Posts: 186 Location: USA
|
Posted: Wed Jan 08, 2003 3:38 pm |
It looks like MXP is used on the server side only, or at least that is what it seemed when I read the MXP section on zuggsoft.
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jan 08, 2003 4:01 pm |
You can send MXP tags yourself to the screen and zMUD will parse them. Try using the #MXP command to send text that contains MXP tags to the screen.
Kjata |
|
|
|
RobMacAF Apprentice
Joined: 09 Jun 2002 Posts: 186 Location: USA
|
Posted: Wed Jan 08, 2003 4:17 pm |
I also found this info that I can do:
#TRIGGER {north} {#SUB {~<send>north~</send>}}
is it better to use MXP or SUB |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jan 08, 2003 7:30 pm |
Depends on what you want to do. #SUB substitutes the matched text for whatever argument you pass to it. #MXP only displays new text, the received text is left alone.
Kjata |
|
|
|
|
|