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



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


alias ownerawaymessage.set {
  set %ownerawaymessage $$?="Enter the message you want displayed when your owners mark as Away and are de-ownered. The current message is: %ownerawaymessage "
}
alias ownerbackmessage.set {
  set %ownerbackmessage $$?="Enter the message you want displayed when your owners return and are re-ownered. The current message is: %ownerbackmessage "
}


on *:QUIT:*: { ruser noowner $$ial($nick).addr 
}
on *:PART:*: { ruser noowner $$ial($nick).addr 
}
on *:DISCONNECT:*: { ruser noowner $$ial($nick).addr
}
on *:LEAVE:*: { ruser noowner $$ial($nick).addr
}
on *:LOAD:{ set %ownerawaydeop On | ownerawaymessage.set | ownerbackmessage.set | /splay notify.wav  
}
on *:UNLOAD:{ set %ownerawaydeop Off | /splay unload.wav 
}
