Type "/leave" for "NICK is away" It will say this message in all the channels you are in.
Type "/away [reason]" For "NICK is away. Reason: [reason]" Without the brackets of course.
Type "/return" for your nick to be changed back to normal.
alias leave {
tnick $+($me,$chr(124),away)
/ame is currently 4away. $iif($1,$+($chr(40),Reason: $1-,$chr(41)))
//set %duration 0
//set %reason $1-
/inc -c %duration | halt
}
alias return {
tnick $mnick
/ame is 3back from: %reason $+ . ( $+ Gone for $duration(%duration) $+ ) | halt
/nickserv identify PASSWORD
}
personally.. I\'d do it like:
on *:input:#: {
if ($1 == !away) {
tnick $+($me,$chr(124),Away)
describe $chan I am currently away.
}
elseif ($1 == !back) {
tnick $mnick
describe $chan I\'m back.
}
elseif ($1 == !afk) {
tnick $chan $+($me,$chr(124),AFK)
describe I\'m currently AFK at the moment.
}
}
if you wanted to use it this way.
Reasons: