Site Tools


on_msg

Differences

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

Link to this comparison view

on_msg [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $Id: on_msg.txt,​v 1.2 2006/08/19 02:36:28 sthalik Exp $
 +
 +======Synopsis:​======
 +[[on]] [<​modes>​]msg [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +
 +======Description:​======
 +This hook is triggered whenever the client receives a [[MSG]] from another
 +client.
 +
 +======Parameters:​======
 +|$0    |nickname of message sender |
 +|$1-   |text of message |
 +
 +======Restrictions:​======
 +The client does not permit automated responses to a [[MSG]] with another
 +[[MSG]]. Such replies may use [[NOTICE]] instead. ​ Any attempt to use [[MSG]]
 +within this hook will be automatically converted to a [[NOTICE]]. ​ The whole
 +point of this is to prevent loops between clients.
 +
  
on_msg.txt ยท Last modified: 2006/08/29 16:08 (external edit)