on ^*:TEXT:*:#:{
if ($nick == NICK_1) {
if (CNN isin $1) { echo $chan $+(03<,$nick,>) 04|CNN|05 $2- | halt }
elseif (MSN isin $1) { echo $chan $+(03<,$nick,>) 04|MSN|05 $2- | halt }
} }
GR8...Thnx everyone for the help...this code now modifies the posts made by NICK_1 only. I will try to modify it further. Something I noticed is that the spaces between the braces and after the if statemnts are mandatory!...thnx to all of you especially Riamus2 and Lpfix5.
Code:
on ^*:TEXT:*:#:{
if ($nick == NICK_1) && (MSN isin $1) || (CNN isin $1) { echo # $+(03<,$nick,>) $replace($1-,$1,$+(4|,$1,|5)) | halt }
}
&& means like saying AND/Bitwise Comparison and || means saying Or so in the script we check if $nick Matches and if MSN or CNN is in