Table of Contents

#$EPIC: on_general_privmsg.txt,v 1.3 2007/03/03 17:58:33 jnelson Exp $

Synopsis:

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

Description:

This hook is triggered whenever the client receives a PRIVMSG from another client.

Encrypted privmsgs that are suppressed with on encrypted_privmsg will not generate an event for this hook.

Parameters:

$0 nickname of message sender
$1 target of PRIVMSG
$2- text of message

Default action:

If you do not suppress this event…

Restrictions:

If this hook is used in silent mode, the corresponding MSG, MSG_GROUP, PUBLIC, and PUBLIC_OTHER hooks will not be thrown.

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.