ChristianEthics-VSIXc V3.2
Updated Sept 2006 to work on VSIXc Chat Network
www.VSIXc.com
_________________________________________________________________________
E-mail: ChristianEthics2@yahoo.ca 
Messenger: ChristianEthics@hotmail.com 
Home page: http://ca.geocities.com/christianethics2
Message Board: http://groups.yahoo.com/group/ChristianEthics_BibleBotDownloadZone/
__________________________________________________________________________

Ban Protection Auto rejon after kicks
____________________________________________________________________________

*Do not edit this file.
_________________________________________________________________________

on *:KICK:#: { if (%bpro = on) { 
    if ($knick == $me) { 
      .inc -u30 %kick.repeats
      /hop $chan
      if (%bpban24 == $null) %bpban24 = 1
      if (%bprom == $null) %bprom = Don't kick me!
      /msg $chan [Kick Protection] $nick %bprom 
      if (%kick.repeats = 2) {
        if ($nick isowner $chan) {
          access $chan delete owner $nick 
          access $chan delete owner $address($nick,2)
          access $chan add deny $nick %bpban24 Kick-Protection
          kick $chan $nick Kick-Protection. 
          halt
        }
        if ($nick isop $chan) {
          access $chan delete host $nick 
          access $chan delete host $address($nick,2)
          access $chan add deny $nick %bpban24 Kick-Protection
          kick $chan $nick Kick-Protection. 
          halt
        }

      }
    } 
  } 
}


alias baprod.set {
  set %baprod $?="Enter the room name to DISABLE ban protection in using this format: #[category][language]RoomName  ie: #[RL][EN]zztestg"
}

alias baprod2.set {
  set %baprod2 $?="Enter the room name to DISABLE ban protection in using this format: #[category][language]RoomName  ie: #[RL][EN]zztestg"
}


alias bprom.set {
  set %bprom $?="Enter message to be displayed if ban protection is activated.  The current message is: %bprom $+ "
}

on *:LOAD:{ set %bpro On | /splay notify.wav
}

on *:UNLOAD:{ set %bpro Off | /splay unload.wav
}
