|
TheTubbyOne Beginner
Joined: 01 Aug 2002 Posts: 10
|
Posted: Thu Aug 01, 2002 6:09 am
Triggers and color |
I am trying to make a trigger for zMUD that will put a certain name of a NPC in color, that part is fairly simple, but i would like to make it appear in bold. if anyone could give me the code to make it appear in bold red id be very grateful, thanks for the help.
Laugh and grow Fat |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Thu Aug 01, 2002 8:42 am |
You are looking for the color word command.
#TRIGGER {{Foo|Bar|Gank|Nawg}} {#CW red}
That will color those words where they show up.
Ton Diening |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Aug 01, 2002 11:51 am |
Also, if you want it bold, specify it with a comma after the color. Example:
#CW red,bold
Kjata |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Aug 01, 2002 11:11 pm |
quote:
Also, if you want it bold, specify it with a comma after the color. Example:
#CW red,bold
Kjata
Be very sure NOT to put a space after the comma in any of the color commands (ie, #CW or #COLOR). In 6.16, this will result in an inadvertant trigger that's overly-focused upon the color command (ie, #trigger {bold} {#cw red}).
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|