|
Solaras Wanderer
Joined: 11 Mar 2002 Posts: 93
|
Posted: 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. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
|
|