mIRC Home    About    Download    Register    News    Help

Print Thread
#141137 05/02/06 10:40 AM
F
FLyFLu
FLyFLu
F
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

K
kokoko
kokoko
K
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-

F
FLyFLu
FLyFLu
F
uf this dont work frown

Joined: Oct 2005
Posts: 1,671
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,671
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

K
kokoko
kokoko
K
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-


Link Copied to Clipboard