Modules/IRCEcho/irc onConnected: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{ModuleFunction|IRCEcho}} This is called when the IRC Module has successfully connected to a server ==Syntax== <syntaxhighlight lang="lua"> function irc_onConnected ( ) </syntaxhighlight> ==Example== ...)
 
(No difference)

Latest revision as of 22:39, 9 February 2008


Package-x-generic.png This function is provided by the external module IRCEcho. You must install this module to use this function.

This is called when the IRC Module has successfully connected to a server

Syntax

function irc_onConnected (  )

Example

Example 1: This script outputs that the server has connected to IRC

function irc_onConnected( )
  	outputServerLog( "IRC Connected!" )
end

See also