napa182 commented on a Page, Exceedingly Simple Away Script  -  May 17, 2010

instead of making it say that lame stuff why not just have it set them as back if they talk.
also no reason to set vars

alias a { 
  .away $iif($1-,$v1,Gone) 
  amsg I'm now away from IRC for the following reason: $iif($1-,$v1,Gone) 
  nick $+($me,[AFK])
}
alias b { 
  .away 
  nick $remove($me,[AFK])
  amsg I'm now back from: $awaymsg [This horrifying mess took me $duration($awaytime) to complete]  
}
on *:input:*: { 
  if ($away) { b }
}
 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.