Site Tools


on_notice

Differences

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

Link to this comparison view

on_notice [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $Id: on_notice.txt,​v 1.2 2006/08/19 02:36:28 sthalik Exp $
 +
 +======Synopsis:​======
 +[[on]] [<​modes>​]notice [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +
 +======Description:​======
 +This hook is triggered whenever the client receives a [[NOTICE]] from another
 +client.
 +
 +This hook will not be thrown if a matching [[ON]] [[on GENERAL_NOTICE|GENERAL_NOTICE]] hook
 +is being used in silent mode. [[ON]] [[on GENERAL_NOTICE|GENERAL_NOTICE]] and [[on]] __NOTICE__ are
 +mutually exclusive.
 +
 +
 +======Parameters:​======
 +|$0     ​|nickname of message sender ​  |
 +|$1-    |text of message ​             |
 +
 +======Restrictions:​======
 +The client does not permit any automated messages to be sent in response to a
 +[[NOTICE]]. ​ Any attempt will result in an error. ​ The whole point of this is
 +to prevent loops between clients.
 +
  
on_notice.txt ยท Last modified: 2006/08/29 16:08 (external edit)