User Tools

Site Tools


on_general_notice

# $EPIC: on_general_notice.txt,v 1.5 2008/02/20 03:41:30 jnelson Exp $

Synopsis:

on [<modes>]general_notice [<serial#>] [-|^]<match> { <action> }

Description:

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.

Parameters:

$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.

History:

on_general_notice.txt · Last modified: 2008/02/20 03:41 (external edit)