mIRC Homepage
Posted By: FLyFLu Nick in color in channel - 05/02/06 10:40 AM
In private (query) i have this code who make only my nick in color thereby
<FLyFLu> hello :")

on *:input:?: {
if (/* !iswm $1) {
.privmsg $active $1-
echo $active $timestamp <4<9 $+ $me $+ 4>> $1-
halt
}
}


How i make this to work in channel
Posted By: kokoko Re: Nick in color in channel - 05/02/06 01:05 PM
you could use the mirc color list setting:

/cnick $me 4

this would color every occurence of your own nick in red, if you want to put it in a script, you have to use something along this line:

cnick $ $+ me 4

so that $me is added to the color list and not the value it returns..

-k-
Posted By: FLyFLu Re: Nick in color in channel - 05/02/06 04:19 PM
uf this dont work frown
Posted By: genius_at_work Re: Nick in color in channel - 06/02/06 02:22 AM
Quote:
cnick $ $+ me 4


What is the point of the $ $+ me ?? Scripts can use anything that can be used in a manual command..

-genius_at_work
Posted By: kokoko Re: Nick in color in channel - 06/02/06 02:49 PM
because in scripts $me will be evaluated, and as what we want is to add the $me element and not its value to the color list we need to use $eval($me,0) or $+($,me) or $ $+ me ...

-k-
© mIRC Discussion Forums