I'd like to use the nick list popup so that while I'm in a channel I can
right click on a nick and have that person's text highlighted. I'd prefer
to have it highlighted in a color different from other highlights, so I can
easily distinguish between different nicks that are highlighted. This would
be for use in a channel with a lot of communication so I can keep track of
who I'm talking to since not everyone is in the habit of typing your nick
when they're talking to you.
In case anyone is looking for something that has this functionality, this
works great:
on ^*:text:*:#:{
if ($hget(hlnick,$nick)) { echo $v1 -i3tlbfmr $chan $+(<,$nick,>) $1- |
haltdef }
}
on *:nick:{
if ($hget(hlnick,$nick)) {
hdel hlnick $nick
hadd hlnick $newnick $v1
}
}
alias hlnick {
if (!$0) { echo -a *** hlnick: /hlnick [-r] <nick> <color> | return }
if (-r == $1) { hdel hlnick $$2 | echo -a *** Removed highlight for: $2 }
elseif ($0 == 2) { hadd -m hlnick $$1 $$2 | echo $2 -a *** Added highlight
for: $1 }
}
alias hlview {
var %i = 1 , %e = echo -ag *** Highlight nicks:
while ($hget(hlnick,%i).item) {
var %nicks = %nicks $v1
if ($numtok(%nicks,32) > 10) { %e %nicks | var %nicks }
inc %i
}
if (%nicks) { %e %nicks }
}