|
balrugh Newbie
Joined: 20 Apr 2004 Posts: 9
|
Posted: Tue Apr 20, 2004 5:24 pm
a nick color script |
i have a list of nicknames in a array, can i match him in a tiggrer?
example:
Nickboy say: lalalal
List of nicks in array: Nickboy, lalalal
The names to colorize are Nickboy and lalalal...
Any idea for this???
Thank you and sorry for my english |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Apr 20, 2004 5:50 pm |
No. Put your list of nicknames in a list instead of an array. Use #ADDITEM to create the variable and add names to it.
#ADDI nicks {Nickboy}
#ADDI nicks {lalal}
#TR {{@nicks}} {#CW red} |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Apr 20, 2004 5:55 pm |
Help Pattern Matching has exactly what you need!
Two ways
First
#TR {{Nickboy|lalala}} {#CW Red}
Second
#ADDITEM Nicks nickboy
#ADDITEM Nicks lalala
#TR {{@Nicks}} {#CW red} |
|
|
|
|
|