type /gone
and when u return /here
save it in your remotes.
alias gone {
.set %time $ctime
.set %reason $1-
.set %nick $me
.nick $me $+ `afk
.ame 9Has gone afk Reason: %reason
.away $1-
}
alias here {
.ame 9Is Back left: $duration($calc($ctime - %time )) Reason: %reason
.away
.nick %nick
}
Bah, who bothers to anticipate being away from their computer for a period of time worth noting. Nobody!
You need a script that will record your away activity for you, and without being disruptive to the channel. Most people prefer you stick with the /away command, and let people /whois you or /msg you if they really want to know your away status.
; This timer will set you away after 10+ minutes idle,
; will update your away status every 5 minutes,
; with the time you've been gone rounded to 5 minute intervals.
On *:CONNECT: .timer 0 300 if ($!idle >= 600) .away Been AFK for $!calc($round($calc($idle / 300),0) * 5) minutes.
; When you type something, you will no longer be away.
On *:INPUT:*: if ($away) .away
; Anyone who wants to learn if you are away, simply types /whois Your_nick
; Anyone who sends you a private message will be apprised of your AFK-ness.
; You never have to remember to set yourself away, ever again!
; You will never be banned from channels for spamming away messages...
; EVER AGAIN!
@ superkaung .. colours are easy deleted
i have done it for you. just replace with the below
alias gone {
.set %time $ctime
.set %reason $1-
.set %nick $me
.nick $me $+ `afk
.ame Has gone afk Reason: %reason
.away $1-
}
alias here {
.ame Is Back left: $duration($calc($ctime - %time )) Reason: %reason
.away
.nick %nick
}