# $Id: on_msg.txt,v 1.2 2006/08/19 02:36:28 sthalik Exp $
on [<modes>]msg [<serial#>] [-|^]<match> { <action> }
This hook is triggered whenever the client receives a MSG from another client.
| $0 | nickname of message sender |
| $1- | text of message |
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.