Anyone know how to stop it from echoing in the active along with
messaging the channel?
Example:
12°15[141212:140112:141412pm15]12° 14,1<12,1ViPeR14,1> hm
12°15[141212:140112:141412pm15]12° hm
on *:INPUT:#:{
if ($left($1,1) != /) {
if ($left($nick(#,$me).pnick,1) == ~) { haltdef | echo -mt $chan 12,1<14,1~12,1 $+ $me $+ > $1- }
if ($left($nick(#,$me).pnick,1) == &) { haltdef | echo -mt $chan 12,1<14,1&12,1 $+ $me $+ > $1- }
if ($left($nick(#,$me).pnick,1) == @) { haltdef | echo -mt $chan 12,1<14,1@12,1 $+ $me $+ > $1- }
if ($left($nick(#,$me).pnick,1) == %) { haltdef | echo -mt $chan 12,1<14,1%12,1 $+ $me $+ > $1- }
if ($left($nick(#,$me).pnick,1) == +) { haltdef | echo -mt $chan 12,1<14,1+12,1 $+ $me $+ > $1- }
if ($left($nick(#,$me).pnick,1) !isin ~&@%+) { haltdef | echo -mt $chan 14,1<12,1 $+ $me $+ 14,1> $1-
msg $active $1-
}
}
}
You could
[Alt]+o => IRC => Show mode prefix
And [ALT]+b => Nick Colors => (add $me)
to get simular results.
on *:INPUT:#:{
if ($left($1,1) != /) {
if $left($nick(#,$me).pnick,1) isin ~&@%+ {
echo -mt # 12,1<14,1 $+ $v1 $+ 12,1 $+ $me $+ > $1-
}
else { echo -mt # 14,1<12,1 $+ $me $+ 14,1> $1- }
haltdef | .msg # $1-
}
}
Another method assuming you still want the prefix
colored different than your nickname is:
on *:INPUT:#:{
if ($left($1,1) != /) {
var %p $left($nick(#,$me).pnick,1)
if %p isin ~&@%+ { %p = $+($chr(3),$color(other),$v1) } | else { %p = }
echo -cmti2 own # $+(<,%p,$chr(3),$nick(#,$me).color,$me,$chr(3),$color(own),>) $1-
haltdef | .msg # $1-
}
}
________________________________________________________________________________________
For starters you might wanna post this in forums as opposed to a snippet, but heres a few solutions you might try.
Instead of all "if" statements change all but one to "elseif" reason being is that you could have op, halfop, and voice at the same time, echoing it 3 times on your end instead of once. (Can refine this method to function in one alias, but that is by far more complicated than changing a few statements)