for my bot I have this

Code:
on !@*:join:#:{
  if ($level($fulladdress) == 10) { .mode $chan +v $nick }
  if ($level($fulladdress) > 10) { .mode $chan +o $nick }
  if ($readini(blacklist.ini,blackmark,$address($nick,2)) == 1) { .ban -k %empire $nick 2 you just got pooped on }
  if ($readini(blacklist.ini,blackmark,$address($nick,4)) == 1) { .ban -k %empire $nick 4 you just got pooped on }  
}



problem is that second ban detection (last line with ban type 4) doesn't trigger at all
even if correct ban type is added into blacklist.ini


is there a way to make them so they both work ?
(for each ban type, not both for one, as in not both to detect ban type 2 or 4 and just use 2nd or 4th - lol hope that makes sense)

Last edited by vinifera; 27/01/12 02:06 AM.