on_channel_signoff
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | on_channel_signoff [2011/10/31 20:00] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Synopsis: | ||
| + | [[on]] [< | ||
| + | |||
| + | ======Summary: | ||
| + | Triggered by other people' | ||
| + | |||
| + | ======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. | ||
| + | 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 by 127.0.0.1
