# $EPIC: on_general_notice.txt,v 1.5 2008/02/20 03:41:30 jnelson Exp $
on [<modes>]general_notice [<serial#>] [-|^]<match> { <action> }
When you receive a notice from another person on irc or from a remote server, a general_notice event is thrown. If you do not catch the NOTICE from another person on irc or from a remote server. The default action for general_notice is to throw one of the encrypted_notice, notice, oper_notice, public_notice, or server_notice events, as the case may be.
You are not permitted to send a MSG or NOTICE, or any other thing that uses them within a general_notice handler. This is a design feature of irc to prevent messaging loops between clients.
Notices that are encrypted will not generate a general_notice event if the user has suppressed the on encrypted_notice event.
$0 | nickname of message sender |
$1 | target of message |
$2- | text of message |
If you do not suppress this event…