blackvenomm666 commented on a Page, Ban List Viewer/Remover  -  Feb 19, 2012

ok i do have one suggestion though buddy. using the

 var %a = 1
    while (%a <= $ibl($active,0)) {

is not the best way to grab the bans. i've found that if the banlist has not been modified for a bit such as adding/removing of bans. that some or all of the bans will not show up this is an example of another way to do it that i set up via my bot.

elseif ($1 == .bans) { .set %checkbanchan $chan | .set %checkban on | .mode $chan +b }

raw 367 :*: {
  if (%checkban == on) {
    .msg %checkbanchan $3 set by $4
  }
}

this is the raw that says end of banlist for w.e channel
raw 368 :*: { 
  if (%checkban == on) {
    .set %checkban off
  }
}

which im sure you could easily change and implement into your coding if you feel like doing so

 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.