Well, It's just a simple away script, Asks for your current password, Away nickname, and Away Password. Pretty straightforward script. If you're away, and someone says your name, it'll notice them telling them the reason you're away, and why. That's really all there is to say about it. /afk (reason) to set away, and /back to come back.
alias afk {
//away $1-
set %awaytime $ctime
set %nick $me
set %pwd $?*="Password to current NickName"
set %awaynick $?="Away Nickname"
set %awaypassword $?*="Away Nick Password?"
/nick %awaynick %awaypassword
ame is currently away, Reason: $awaymsg Time is: $time
unset %awaynick
unset %awaypassword
}
alias back {
ame is back Reason: $awaymsg Was Gone: $duration($calc($ctime - %awaytime))
away
/nick %nick %pwd
unset %awaytime
unset %nick
unset %pwd
}
on *:text:*:#:{ if ($me isin $1-) && ($away == $true) {
notice $nick $me is gone, Reason: $awaymsg Been Gone: $duration($calc($ctime - %awaytime))
}
}