This is just a simple away script, it tells people why you have gone and when you come back it tells them why you left and how long you were gone for... it has a logger for what people need to say to you... just type /away to leave and /away to come back.
Alias Away {
if (%away == $null) {
Away $1-
set %reason $$?="Why Are You Going?"
/ame -=-I Am Now Away...-=- | Reason: %Reason | -=- I Am Now Away...-=-
//set %duration 0
/inc -c %duration
/set %away yes
/window -w @Away
//echo @away THIS WINDOW WILL SHOW PEOPLE WHO HAVE EITHER SAID SOMETHING TO YOU OR HAVE TRIED TO CONTACT YOU!
/set %nick $me
/nick $$?="Change Your Nick To What?"
halt
}
if (%away != $null) {
Away
/ame -=-I Am Now Back...-=- | Reason: %reason | Gone For: $duration(%duration) | -=-I Am Now Back...-=-
/unset %reason
/unset %duration
/unset %away
/nick %nick
/unset %people
halt
}
}
on *:text:*:*: {
if (%away == yes) && ($me isin $1- ) {
//notice $nick Sorry $nick I Am Currently Away, I Have Been Gone For $duration(%duration)
//echo @away $asctime([HH:nn:ss]) < $+ $nick $+ > $1-
}
}