This is a short snippet i made for myself when i once needed it and have found it quiet useful since. It allows you to spy on users by opening a custom window and one can open as many as you like. It also tracks nick changes. just rightclick a nick.
menu nicklist {
Spy: Spy $1
Closespy: unspy $1
}
ON *:TEXT:*:#: {
if $($+(%,spy,$nick,$cid),2) {
if (!$window($+(@spy,.,$nick))) { spy $nick }
echo -e $+(@spy,.,$nick) 4 $+ $timestamp $nick $+ : $chan $+ : $1-
}
}
ON *:NICK: {
if $($+(%,spy,$nick,$cid),2) {
unset $+(%,spy,$nick,$cid),2)
set -e $+(%,spy,$newnick,$cid),2) 1
aline $+(@spy,.,$nick) -
aline 7 $+(@spy,.,$nick) $timestamp $nick has now changed to $newnick $+ . auto tracking $newnick
aline $+(@spy,.,$nick) -
echo -a 9,1Spyed on user $nick has changed nicks, following new nick $newnick
renwin $+(@spy,.,$nick) $+(@spy,.,$newnick)
titlebar $+(@spy,.,$newnick) Spy module: currently spying on 4 $+ $newnick $+ $network
}
}
alias spy {
if (!$window($+(@spy,.,$$1))) {
echo $active 11,1Spy window has now been opened for $$1 $+ :
set -e $+(%,spy,$$1,$cid),2) 1
window -kzn $+(@spy,.,$$1) 100 50 690 460
titlebar $+(@spy,.,$$1) Spy module: currently spying on 4 $+ $1 $+ $network | font $+(@spy,.,$$1) 12 arial bold
}
}
alias unspy {
if $($+(%,spy,$$1,$cid),2) {
window -c $+(@spy,.,$$1)
unset $+(%,spy,$$1,$cid),2) 1
echo -a 1,4Spy module for $$1 is now closed.
}
else echo -a 7,1There is no spy module set for $$1 to close.
}
This is not a warscript. It opens a customized window for a a nick and logs all what that user has said and allows for nickname changes so it wont lose the tracker after a tracked nick changes to something else. and liquid_nitro \"So...it just tells you when a person changes nicknames?\" maybe READ the code!!