mIRC Home    About    Download    Register    News    Help

Print Thread
#141137 05/02/06 10:40 AM
Joined: Feb 2006
Posts: 8
F
FLyFLu Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Feb 2006
Posts: 8
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

Joined: Feb 2003
Posts: 12
K
Pikka bird
Offline
Pikka bird
K
Joined: Feb 2003
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-

Joined: Feb 2006
Posts: 8
F
FLyFLu Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Feb 2006
Posts: 8
uf this dont work frown

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

Joined: Feb 2003
Posts: 12
K
Pikka bird
Offline
Pikka bird
K
Joined: Feb 2003
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-


Link Copied to Clipboard