OK.. i have nice broken down simplified connect / nick change / quit / version script running for some new staff so they dont overwhelmed by the main services scroll but i'm looking for a standalone section please to run from the connection side so that we can do a whowas based from the connecting ip and it shows the last 10 nicks used on that ip please.
the script i am looking for is to be triggered in #ops via the command .searchip .. output from the bot to go into channel
on ^*:snotice:*:{
if (Client connecting isin $1-) {
window -nek @Connecting
aline -hp @Connecting 4 $+ $1- at $time on $date on $network
msg #mastercontrol 6CONN $4 at $time and their ip is $6
CTCP $4 Version
haltdef
}
if (Client exiting isin $1-) {
window -nek @Exiting
aline -hp @Exiting 4 $+ $1- at $time on $date on $network
msg #mastercontrol 12QUIT $4
haltdef
}
if (changed their nickname isin $1-) {
window -nek @cnick
aline -hp @cnick 4 $+ $1- at $time on $date on $network
msg #mastercontrol 4NICK $2 changed nick to $9
haltdef
}
}
on 1:CTCPREPLY:VERSION*:/msg #mastercontrol,#version 3VERSION $nick : $2-
The above code is what i am using atm... the output looks a bit like this [19:06] 6CONN emmak at 19:06:40 and their ip is [12.34.56.78] if it helps using part of another code.. maybe this might help http://hawkee.com/snippet/20373/