User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

on_general_notice [2008/02/20 03:41] (current)
Line 1: Line 1:
 +# $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 [[on
 +encrypted_notice|encrypted_notice]],​ [[on notice|notice]],​ [[on
 +oper_notice|oper_notice]],​ [[on public_notice|public_notice]],​ or [[on
 +server_notice|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 [[encrypt]]ed 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 |
 +======Default action:​======
 +If you do not suppress this event...
 +  * If this message is from a server, the client will throw an [[on server_notice]] event.
 +  * If this message is sent to a channel you're on, the client will throw an [[on public_notice]] event.
 +  * Otherwise, the client will throw an [[on notice]] event.
on_general_notice.txt ยท Last modified: 2008/02/20 03:41 (external edit)