All pastes #612889 Raw Edit

Meins

public text v1 · immutable
·published 2007-07-10 18:04 UTC
rendered paste body
on *:invite:#:{ 
  .join $chan 
} 
on *:text:!join*:#:{ 
  .join $$2 
} 
on *:kick:#: { 
  if ($knick == $me) { 
    inc $+(%,kickcnt.,$chan) 
    if ($($+(%,kickcnt.,$chan),2) > 4) { 
      write banchan.txt $chan 
      unset $+(%,kickcnt.,$chan) 
    } 
  } 
} 
on me:*:join:#:{ 
  if $read(banchan.txt,w,$chan) { 
    .part $chan $chan 4Has been blacklisted to have this removed please contact iCheck  or Orfire30`
  } 
  else { 
    if ($chan != #bots) { 
      if ($($+(%,kickcnt.,$chan),2)) var %left = $+($calc(5 - $v1),/5) 
      else var %left = 5/5 
      .msg # 12If I Am Kicked More Than 45 12Times This Channel Will Be Blacklisted. Number Of Kicks Left 4 %left 
    } 
  } 
} 
On *:TEXT:!addban &:#: { 
  if ($nick == Ofire30`) { 
    msg $chan $2 has been added to Blacklist - by $nick . 
    var %file = banchan.txt 
    if ( !$read(%file,nw,$2) ) write %file $2 
  } 
} 
on *:text:!delban &:#: { 
  if ($nick == Orfire30`) { 
    msg $chan $2 4has now been removed from Blacklist - by $nick . 
    var %file = banchan.txt 
    if ($read(%file,nw,$2)) write $+(-dl,$readn) %file 
  } 
}