on_dcc_offer
Table of Contents
Synopsis:
on [<modes>]dcc_offer [<serial#>] [-|^]<match> { <action> }
Description:
This hook is triggered whenever you offer someone else a dcc. This could be either a DCC CHAT or a file transfer.
Parameters:
Default Action:
If you don't suppress this event, the client will display a message to your screen.
Examples:
To alert user of bad DCC's:
on ^dcc_offer "#*" (target, type, fname, fsize) { xecho -b Offering a DCC to an entire channel will not work as xecho -b expected. Please direct DCC offers to one person. }
on_dcc_offer.txt · Last modified: 2007/03/02 21:37 by 127.0.0.1