ChristianEthics-VSIXc V3.1
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 Away Deop
Editted Sept 2004 
works with vincula, but not with clearmsn
--------------------------------------------------------------------------

on *:notice:*:#:{
  if (AWAY isin $1- ) { 
    if ($nick == $me) halt 
    if ($me !isop $chan) halt
    if ($nick !isop $chan) && ($nick !isowner $chan) halt
    if ($nick isowner $chan) halt
    msg $chan $nick %hostawaymessage 
    mode $chan -o $nick
    auser nohost $$ial($nick).addr
    auser noawaybackmessage $nick
  }
  if (BACK isin $1- ) { 
    if ($level($ial($nick).addr) == nohost) {
      ruser nohost $$ial($nick).addr
      mode $chan +o $nick
      msg $chan $nick %hostbackmessage  
    } 
  }

}




alias hostawaymessage.set {
  set %hostawaymessage $$?="Enter the message you want displayed when your hosts mark as Away and are de-hosted. The current message is: %hostawaymessage "
}
alias hostbackmessage.set {
  set %hostbackmessage $$?="Enter the message you want displayed when your hosts return and are re-hosted. The current message is: %hostbackmessage "
}

on *:QUIT:*: { ruser nohost $$ial($nick).addr 
}
on *:PART:*: { ruser nohost $$ial($nick).addr 
}
on *:DISCONNECT:*: { ruser nohost $$ial($nick).addr
}
on *:LEAVE:*: { ruser nohost $$ial($nick).addr
}
on *:LOAD:{ set %hostawaydeop On | hostawaymessage.set | hostbackmessage.set | /splay notify.wav  
}
on *:UNLOAD:{ unset %hostawaydeop | /splay unload.wav 
}
