mIRC Home    About    Download    Register    News    Help

Topic Options
#141137 - 05/02/06 10:40 AM Nick in color in channel
FLyFLu Offline
Nutrimatic drinks dispenser

Registered: 04/02/06
Posts: 8
Loc: Bulgaria ,Varna
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

Top
#141138 - 05/02/06 01:05 PM Re: Nick in color in channel
kokoko Offline
Pikka bird

Registered: 05/02/03
Posts: 12
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-

Top
#141139 - 05/02/06 04:19 PM Re: Nick in color in channel
FLyFLu Offline
Nutrimatic drinks dispenser

Registered: 04/02/06
Posts: 8
Loc: Bulgaria ,Varna
uf this dont work frown

Top
#141140 - 06/02/06 02:22 AM Re: Nick in color in channel
genius_at_work Offline
Hoopy frood

Registered: 08/10/05
Posts: 1741
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

Top
#141141 - 06/02/06 02:49 PM Re: Nick in color in channel
kokoko Offline
Pikka bird

Registered: 05/02/03
Posts: 12
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-

Top