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
Solaras
Wanderer


Joined: 11 Mar 2002
Posts: 93

PostPosted: Sat Mar 30, 2002 5:59 am   

stringlist and CW
 
I am wondering how you set up a stringlist to be coloured if that word ever shows up.

I know how to make the variable for the list of words I want just not the trigger.. I thought I did but it doesnt want to work.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Mar 30, 2002 7:54 am   
 
quote:

I am wondering how you set up a stringlist to be coloured if that word ever shows up.

I know how to make the variable for the list of words I want just not the trigger.. I thought I did but it doesnt want to work.



#trigger {{stringlist}} {#CW (color)}

stringlist can be either a literal list or a reference to a variable:

"One|Two|Three|Four"
@MyStringList

Either way you do it, you MUST surround it in curly brackets so ZMud's trigger parser knows to treat it as a list instead of one single string of characters.

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