Jethro commented on a Page, Cheiron`s Ban / Kick logging  -  May 23, 2011

lol My mistake. I left it out thinking that was unimportant. Here is the fix:

on *:ban:#: bklog
on *:kick:#: bklog
on *:rawmode:#:if ($regex($1-,/([+][^\-]*b.+)/)) set %bset $regml(1)
alias -l bklog {
  window $iif($event == kick,@kicks,@bans)
  if ($event == kick) { 
    echo -t @kicks [kick tracker] $nick kicked $knick from $chan on $date at $time 
  }
  else {
    var %b = 1
    while ($ialchan($banmask,$chan,%b).nick) {
      echo -t @bans [ban logger] $nick set the following ban %bset against the user $v1 on $time $date in $chan
      inc %b
    }
    unset %bset
  }
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.