Originally Posted By: RoCk
What is the loop for and did you inc %i inside the loop?


So far I got..

Code:
on *:op:#: {
  if (($opnick == $me) && ($nick != $me)) {
    /echo $chan hi
    var %i = 1
    echo $chan %i
    while (%i < 20) {
      echo $chan %i
      if ($address($me,%i) isban $chan) {
        /mode $chan -bbbb $v1 $v1
        inc %i
      }
    }
  }
  <Other stuff>
}