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/
__________________________________________________________________________

Host Lock
Special Thanks to TWWON for all the help with the Owner Lock Script.
Edited October 2004
____________________________________________________________________________

Do not edit this file.
__________________________________________________________________________

on *:RAWMODE:*: { 
  if ($level($2) == hostlist) /halt
  if ($level($2) == ownerlist) /halt
  if ($$2 == $me) halt
  if (+o isin $1-) && ($me isop #) {
    .inc -u70 %hostlockk [ $+ [ $nick ] ]
    if (%ownerlockk [ $+ [ $nick ] ] >= 1) { halt }
    if (%hostlockk [ $+ [ $nick ] ] == 1) {
      mode $chan -o $mode(1).nick
      msg $chan $2 Host Lock is On
    }
    if (%hostlockk [ $+ [ $nick ] ] == 2) {
      mode $chan -o $mode(1).nick
      msg $chan $2 Host Lock is On. $2 will be kicked and banned if this continues.
    }
    if (%hostlockk [ $+ [ $nick ] ] == 3) {
      mode $chan -o $mode(1).nick
      msg $chan $2 Host Lock is On. $2 will be kicked and banned if hosted again.
    }
    if (%hostlockk [ $+ [ $nick ] ] >= 4)  {
      /access # delete host $2 
      /access # delete host $address($2,2)
      /access # add deny $2 5 HostLock. 
      /kick # $2 HostLock. 5 minute ban.
      /echo $color(kick text) -at [ Host-Lock Activated. $2 is Not on Host Allow List. Removing Host From Access List..
    }

  }
}




on *:LOAD:{ set %hostlockonoff On | /splay notify.wav  
}
on *:UNLOAD:{ unset %hostlockonoff | /splay unload.wav 
}
