on_encrypted_notice
                no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | on_encrypted_notice [2007/03/02 21:44] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Synopsis: | ||
| + | [[on]] encrypted_notice | ||
| + | |||
| + | ======Description: | ||
| + | This event is generated when someone sends you an [[encrypt]]ed [[notice]] | ||
| + | (that contains a [[ctcp]] sed), As with all [[notice]] hooks, you cannot send a | ||
| + | [[msg]] or [[notice]] to a person over irc from within this hook. This event | ||
| + | is done after [[ignore]] checking, but before [[flood control]] checking. | ||
| + | |||
| + | ======Parameters: | ||
| + | |$0 |nickname of message sender | | ||
| + | |$1 |target of message (the sender or channel) | | ||
| + | |$2- | ||
| + | |||
| + | ======Default behavior: | ||
| + | If you do not suppress this event, the client will throw an | ||
| + | [[on general_notice]] event. | ||
| + | |||
| + | ======Examples: | ||
| + | To clearly distinguish encrypted [[NOTICE]]s from unencrypted ones: | ||
| + | on ^encrypted_notice '% $0 *' { | ||
| + | echo -${[$0]}- [ENCRYPTED] $1- | ||
| + | } | ||
| + | |||
on_encrypted_notice.txt · Last modified: 2007/03/02 21:44 by 127.0.0.1
                
                