Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
29
bitchx-docs/5_Programming/on/encrypted_notice
Normal file
29
bitchx-docs/5_Programming/on/encrypted_notice
Normal file
@@ -0,0 +1,29 @@
|
||||
Synopsis:
|
||||
on [<modes>]encrypted_notice [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered whenever the client receives a NOTICE encrypted
|
||||
with CTCP SED. This is how the ENCRYPT command normally works.
|
||||
|
||||
Parameters:
|
||||
$0 nickname of message sender
|
||||
$1- message received
|
||||
|
||||
Examples:
|
||||
To clearly distinguish encrypted NOTICEs from unencrypted ones:
|
||||
on ^encrypted_notice '% $N *' {
|
||||
echo -${[$0]}- [ENCRYPTED] $1-
|
||||
}
|
||||
|
||||
See Also:
|
||||
encrypt(4); notice(1); on(5) encrypted_privmsg, notice
|
||||
|
||||
Restrictions:
|
||||
This hook is subject to the same protocol restrictions as the NOTICE
|
||||
hook.
|
||||
|
||||
Other Notes:
|
||||
When used with the silent or quiet modes, this hook will suppress the
|
||||
normal output for NOTICEs. Care should be used, as it can jumble
|
||||
public hooks.
|
||||
|
||||
Reference in New Issue
Block a user