Why Won't This work... - 07/03/04 12:09 AM
on *:INPUT:*:{
if ($active == $chan) && ($1 ison $chan) { set %nicklen $len($1) | set %color $+ $rand(2,15) $+ ,01 | msg $chan %color $remove($nick($chan,$1).pnick,$1) $+ $left($1,1) $+ 15,01 $+ $replace($right($1,$calc(%nicklen - 1)),$right($1,1),%color $+ $right($1,1)) $+ 00,01: $2- | unset %color | halt }
if ($left($1,1) == /) { return | halt }
if ($left($1,1) != /) { .echo $chan $time( $+ %timestamp $+ ) %color.left $+ 10,1 $+ $remove($nick($chan,$me).pnick,$me)) $+ 0,1 $+ $me $+ %color.right 00,01 $+ $1- | .msg $active $1- | halt }
}
Ignore the if ($left($1,1) == / or != / part.
I'm talking about the nick colorer. It works for almost every nick except for Jellodude and Hobo. I don't know why...
Here's what I get (You'll have to paste it on mIRC to see)
<Mew-scripting> 12,01 @J15,0112,01ellodud12,01e00,01: o_o
<Mew-scripting> 3,01 @J15,013,01ellodud3,01e00,01: o_o
<Mew-scripting> 10,01 @J15,0110,01ellodud10,01e00,01: o_o
<Mew-scripting> 4,01 %+M15,01ew-scriptin4,01g00,01: =\
<Mew-scripting> 7,01 @+f15,01t[away7,01]00,01: :|
~Mew (Kriminal)
if ($active == $chan) && ($1 ison $chan) { set %nicklen $len($1) | set %color $+ $rand(2,15) $+ ,01 | msg $chan %color $remove($nick($chan,$1).pnick,$1) $+ $left($1,1) $+ 15,01 $+ $replace($right($1,$calc(%nicklen - 1)),$right($1,1),%color $+ $right($1,1)) $+ 00,01: $2- | unset %color | halt }
if ($left($1,1) == /) { return | halt }
if ($left($1,1) != /) { .echo $chan $time( $+ %timestamp $+ ) %color.left $+ 10,1 $+ $remove($nick($chan,$me).pnick,$me)) $+ 0,1 $+ $me $+ %color.right 00,01 $+ $1- | .msg $active $1- | halt }
}
Ignore the if ($left($1,1) == / or != / part.
I'm talking about the nick colorer. It works for almost every nick except for Jellodude and Hobo. I don't know why...
Here's what I get (You'll have to paste it on mIRC to see)
<Mew-scripting> 12,01 @J15,0112,01ellodud12,01e00,01: o_o
<Mew-scripting> 3,01 @J15,013,01ellodud3,01e00,01: o_o
<Mew-scripting> 10,01 @J15,0110,01ellodud10,01e00,01: o_o
<Mew-scripting> 4,01 %+M15,01ew-scriptin4,01g00,01: =\
<Mew-scripting> 7,01 @+f15,01t[away7,01]00,01: :|
~Mew (Kriminal)