Copy and Paste in removes in a new seperate file.
I finally had the time to fix a few things and do a few tweaks.
Credit goes to RusselB and everyone else who had helped me with this snippet. :)
on *:kick:#:{
if $nick isop $chan {
.write $+($shortfn($logdir),kicks_bans.log) $nick kicked $knick from $chan on $date at $time
window -n @KickAlert
echo @KickAlert $nick kicked $knick from $chan on $date at $time Reason: $1-
}
}
on *:ban:#:{
var %i = 1
var %tot = $nick($chan,0)
while (%i <= %tot) {
if ($banmask iswm $address($nick($chan,%i),5)) {
.write $+(",$logdir,kicks_bans.log,") $nick banned $nick($chan,%i) from $chan on $date at $time
window -n @BanAlert
echo @BanAlert $nick banned $nick($chan,%i) from $chan on $date at $time
}
inc %i
}
}