User Tools

Site Tools


on_channel_signoff

Synopsis:

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

Summary:

Triggered by other people's quits or disconnections from irc.

Description:

The channel_signoff event is thrown every time someone on one of your channels quits irc. If the person is on multiple channels with you, multiple events are thrown. This event is not thrown when you quit irc, the event for that is exit.

Parameters:

$0 the channel the signoff was observed on
$1 the nickname of the person leaving irc
$2- signoff message

Default action:

If you don't suppress this event, the client will throw an on signoff event.

Examples:

To distinguish signoffs from one channel to another:

 on ^channel_signoff * (chan, nick, message) {
    if (iscurchan($chan)) {
       xecho -b Signoff by $nick \($message\);
    } {
       xecho -b Signoff by $nick from $chan \($message\);
    };
 };

History

on_channel_signoff.txt · Last modified: 2011/10/31 20:00 (external edit)