Originally Posted By: pif___
Hi guys,

I am in a news channel. The format of the text in this channel is like this

<CNN> ......
<BBC> ......
<FOX> &#8230;..

What I would like to do is to change the color of each line according to the source. For instance, CNN will have a red color whereas BBC will have Blue. Can you help me? Can I mix the colors so the source (i.e. <CNN>) will have a color different than the text??

Regards,

P.S. I am only a regular user, so I do not have access to the bot


Code:
on ^*:TEXT:*:#:{
if (CNN isin $1-) { echo # $replace($1-,CNN,4CNN) | halt }
}