autoaway on idle

By Spoofing on Dec 04, 2010

just simple autoaway ;P

on *:INPUT:#:set $+(%,idle,$cid) $ctime | if ($away) away
on *:INPUT:?:set $+(%,idle,$cid) $ctime | if ($away) away
on *:PING: {
  if ($away) return
  if ($calc($ctime - $(,$+(%,idle,$cid))) > 600) {
    away auto-away after $duration($v1,3) idle
  }
}

Comments

Sign in to comment.
fahadmehar   -  Oct 17, 2016

How I set 10 minutes Idle ?

 Respond  
Jethro   -  Dec 04, 2010

Deleted due to an overlooked issue.

 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.