User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

on_idle [2007/03/02 22:04] (current)
Line 1: Line 1:
 +[[on]] [<​modes>​]idle [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +This hook is triggered whenever the client'​s idle time reaches the given
 +value, in minutes. ​ The idle time is reset when the client is given a
 +|$0    |minutes idle |
 +=====Default Action:​=====
 +If you don't suppress this event, the client will take no action.
 +To automatically set the client away after being idle for 5 minutes:
 +   on ^idle "​5"​ {
 +      away I'm not paying attention again...
 +   }
 +======Other Notes:​======
 +Irc servers don't have the same notion of "​idle"​ as the client does.  To
 +most servers, the client only becomes unidle by sending a message to a
 +channel or a person.
on_idle.txt ยท Last modified: 2007/03/02 22:04 (external edit)