Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
TheTubbyOne
Beginner


Joined: 01 Aug 2002
Posts: 10

PostPosted: 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
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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