Modules/IRCEcho/ircNotice: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{ModuleFunction|IRCEcho}} Notice somebody of an action ==Syntax== <syntaxhighlight lang="lua"> function ircNotice ( IRCConnection irc, string channel, string message ) </syntaxhighlight> ===Required arg...) |
(No difference)
|
Revision as of 18:49, 13 January 2008
This function is provided by the external module IRCEcho. You must install this module to use this function. | |
Notice somebody of an action
Syntax
function ircNotice ( IRCConnection irc, string channel, string message )
Required arguments
- irc: The IRCConnection you wish to disconnect
- channel: The channel of user you want to send to
- message: The message
Example
Example 1: This example is warning IJs of an banned user
function ReportBan( ip ) ircNotice( pIRC, "IJs", getClientName( source ) .. " banned " .. sz ) end addEventHandler( "onBan", getRootElement(), ReportBan )