Site Tools


on_idle

Synopsis:

on [<modes>]idle [<serial#>] [-|^]<match> { <action> }

Description:

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 command.

Parameters:

$0 minutes idle

Default Action:

If you don't suppress this event, the client will take no action.

Examples:

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 by 127.0.0.1