Grant- commented on a Page, Simple Away (/afk & /return)  -  Jul 22, 2009
alias afk {
  if (%away) echo You are already away!
  else {
    set %away $iif($1,$1-,AFK)
    set %awaytimer $ctime
    away $iif($1,$1-,AFK)
    amsg I am now away. Reason: %away
  }
}

alias return {
  if (!%away) echo You are not away!
  else {
  amsg I have returned from being away. I was away for $duration($calc($ctime - %awaytimer)) $+ . I was gone for: %away
    unset %away*  
  }
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.