User Tools

Site Tools


on_dcc_chat

Synopsis:

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

Summary:

Triggered by other people's dcc chat commands.

Description:

This hook is triggered whenever the client receives a message across a DCC CHAT connection.

Parameters:

$0 nickname of the message sender
$1- message received

Default Action:

If you don't suppress this event, the client will format the message and display it to the screen.

Examples:

Other Notes:

DCC falls outside of the irc protocol, and as such there are no restrictions on automated replies. This creates the potential for uncontrolled looping, so caution is advised.

on_dcc_chat.txt · Last modified: 2011/10/31 20:03 (external edit)