All pastes #93027 Raw Edit

Someone

public text v1 · immutable
#93027 ·published 2006-07-20 03:48 UTC
rendered paste body
on *:INVITE:#: {
  if ($readini(channels.ini, $chan, status) == $null) {
    var %status [ $+ [ $chan ] ] Deactivated
    timer 1 3 notice $nick Currently not activated in $chan - Please type: !achan $me $+ 
    goto start
  }
  elseif ($readini(channels.ini, $chan, status) == deactivated) {
    var %status [ $+ [ $chan ] ] Deactivated
    timer 1 3 notice $nick Currently not activated in $chan - Please type: !achan $me $+ 
    goto start
  }
  elseif ($readini(channels.ini, $chan, status) == activated) {
    var %status [ $+ [ $chan ] ] Activated
    goto start
  }
  :start
  if (%ban. [ $+ [ $chan ] ] == 1) {
    join # 
    part # Channel Blacklisted
    halt 
  }
  elseif ($nick($chan,0) <= 5) {
    join #
    part $chan More than 5 people must be in the chan. Current: $nick($chan,0)
    halt
  }
  else {
    if (%kick. [ $+ [ $chan ] ] == $null) {
      join # 
      timer 1 2 msg # 1[1Serv1] *** 14Invited by: $nick 1| 14Kick Counts: 0 / 5 1| 14Status: %status [ $+ [ $chan ] ] 1| 14For commands type: !list    
      halt
    } 
    else  {
      join #
      timer 1 2 msg # 1[1Serv1] *** 14Invited by: $nick 1| 14Kick Counts: %kick. [ $+ [ $chan ] ] / 5 1| 14Status: %status [ $+ [ $chan ] ] 1| 14For commands type: !list
      halt
    }
  }
}