<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mack+Varial</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mack+Varial"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Mack_Varial"/>
	<updated>2026-05-13T08:31:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=37423</id>
		<title>NL/Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=37423"/>
		<updated>2013-10-26T22:26:57Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Geëxporteerde functies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
De &amp;quot;irc&amp;quot; resource zorgt voor een echobot die berichten zoals chatberichten output op een irc channel.&lt;br /&gt;
Informatie over &amp;quot;irc&amp;quot; of &amp;quot;Internet Relay Chat&amp;quot; kan gevonden worden op [http://nl.wikipedia.org/wiki/Internet_Relay_Chat Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installatie==&lt;br /&gt;
Om deze resource aan de praat te krijgen op je Linux of Windows server, volg deze stappen:&lt;br /&gt;
&lt;br /&gt;
* '''Installeer de sockets module'''&lt;br /&gt;
** '''Download de module''': Je kan deze module vinden op het [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download het ml_sockets.dll bestand voor Windows en het ml_sockets.so bestand voor Linux&lt;br /&gt;
** '''Voeg de module toe in de MTA map''': Om deze module te laten moet deze in de volgende map geplaatst worden: mods/deathmatch/modules, als deze map niet bestaat, maak ze dan.&lt;br /&gt;
** '''Voeg de module toe aan het mtaserver.conf bestand''': Om de module te laden wanneer de server start, voeg dan dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; voor Windows en dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; voor Linux toe aan je mtaserver.conf.&lt;br /&gt;
* '''Installeer de IRC resource'''&lt;br /&gt;
** '''Download de resource''': De IRC resource kan gevond worden op de [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], plaats de resource in de resources map.&lt;br /&gt;
** '''Pas het settings.xml bestand aan''': Open dit bestand en volg de instructies in het bestand om de bot te configureren.&lt;br /&gt;
** '''Pas het meta.xml bestand aan''': In dit bestand staan een aantal settings met betrekken tot reclame en ingame gui's, '''blijf van de rest!''' Je kan deze settings ook veranderen in je admin paneel wanneer de resource geladen is.&lt;br /&gt;
** '''Acl rechten''' De resource heeft een aantal rechten nodig om goed te werken waaronder: addBan, kickPlayer &amp;amp; callRemote. Als de resource niet genoeg rechten heeft verschijnt er een bericht in de console en kan de resource niet starten.&lt;br /&gt;
&lt;br /&gt;
Nu kan je de resource starten, als de server aan het werken was tijdens deze bewerkingen doe dan eerst: /loadmodule ml_sockets.dll of /loadmodule ml_sockets.so en /refreshall voordat je /start irc doet.&lt;br /&gt;
&lt;br /&gt;
==Het acl.xml bestand==&lt;br /&gt;
Het acl.xml bestand in de irc resource zorgt voor de acl rechten van irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* De name is de command met uitroepteken&lt;br /&gt;
* De level is het minimum level dat de irc user moet hebben om de command te gebruiken.&lt;br /&gt;
* De echoChannelOnly bepaald ofdat je de command kan gebruiken buiten het echochannel&lt;br /&gt;
&lt;br /&gt;
==Elementen==&lt;br /&gt;
Alle gebruikers, kanalen &amp;amp; servers gekend door de irc resource worden voorgestand door elementen&lt;br /&gt;
* Servers zijn de volgende elementen: 'irc-server'&lt;br /&gt;
* Channels zijn de volgende elementen: 'irc-channel'&lt;br /&gt;
* Users zijn de volgende elementen: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level systeem==&lt;br /&gt;
De irc resource gebruikt geen irc modes systeem voor zijn acl, maar wel nummers.&lt;br /&gt;
* Owner (~) is nu level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is nu level 4&lt;br /&gt;
* Operator (@) is nu level 3&lt;br /&gt;
* Helper (%) is nu level 2&lt;br /&gt;
* Voice (+) is nu level 1&lt;br /&gt;
Alle andere gebruikers zijn nu level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
Gedurende het irc proces worden een aantal events getriggerd om het je gemakkelijk te maken om extensies te schrijven.&lt;br /&gt;
Je moet wel addEvent(&amp;quot;eventName&amp;quot;) doen om ze te kunnen gebruiken.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Naam'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' kan nil zijn als 'theUser' gequit heeft zonder reden.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' kan false zijn als 'theUser' gekickt was door een service zoals de nickserv.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als 'theUser' geopt was door een service zoals de chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als de mode geset was door een service zoals chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Geëxporteerde functies==&lt;br /&gt;
Deze functies kunnen gebeld worden van andere resources om het schrijven van extensies mogelijk te maken&lt;br /&gt;
Gebruik de exports tabel of [[call]] om ze te gebruiken.&lt;br /&gt;
&lt;br /&gt;
Voorbeeld 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Voorbeeld 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''functie naam'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall/string functionName, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Gebruik een string met de functie naam als je deze functie gebruikt vanuit een andere resource, zorg ervoor dat deze functie geëxporteerd is&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Alle parameters die tussen haakjes staan zijn optioneel, zie [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Commandos==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''commando'''&lt;br /&gt;
|width='100pt'|'''level'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kick'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!uptime'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!say'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!s'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!m'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!players'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!pm'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ts'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getip'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getserial'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unmute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mutes'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!freeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unfreeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kill'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!slap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banname'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!bans'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!commands'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!cmds'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!lua'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!run'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!crun'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!resources'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!start'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!restart'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!stop'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!account'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!community'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!money'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!health'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!wantedlevel'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!team'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ping'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!modules'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!changemap'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!map'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!shutdown'''&lt;br /&gt;
|width='100pt'|'''5'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!password'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!gravity'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!weather'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!server'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!zone'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refreshall'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refresh'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!checkmap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!country'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Aanpassen==&lt;br /&gt;
Gelieve de resource niet aan te passen, je kan ze breken. Schrijf extensies.&lt;br /&gt;
&lt;br /&gt;
==Contacteren==&lt;br /&gt;
De auteur (MCvarial) kan gecontacteerd worden op IRC (#mta,#mta.dutch)&lt;br /&gt;
Of via email (MCvarial@gmail.com)&lt;br /&gt;
&lt;br /&gt;
[[en:Resource:Irc]]&lt;br /&gt;
[[ru:Resource:Irc]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=37422</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=37422"/>
		<updated>2013-10-26T22:25:33Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Exported functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;irc-channel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall/string functionName, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Use a string with the function name for the second argument if your are calling this function from another resource, also make sure the function is exported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Commands==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''command'''&lt;br /&gt;
|width='100pt'|'''level'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kick'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!uptime'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!say'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!s'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!m'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!players'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!pm'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ts'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getip'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getserial'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unmute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mutes'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!freeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unfreeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kill'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!slap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banname'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!bans'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!commands'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!cmds'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!lua'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!run'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!crun'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!resources'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!start'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!restart'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!stop'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!account'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!community'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!money'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!health'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!wantedlevel'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!team'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ping'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!modules'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!changemap'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!map'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!shutdown'''&lt;br /&gt;
|width='100pt'|'''5'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!password'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!gravity'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!weather'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!server'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!zone'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refreshall'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refresh'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!checkmap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!country'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break it and cause it to malfunction or to spam errors.&lt;br /&gt;
If this happens you will not get any support.&lt;br /&gt;
Write extensions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;br /&gt;
&lt;br /&gt;
[[nl:Resource:Irc]]&lt;br /&gt;
[[ru:Resource:Irc]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=36686</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=36686"/>
		<updated>2013-07-15T12:29:22Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smartchat resource&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=36675</id>
		<title>NL/Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=36675"/>
		<updated>2013-07-15T12:06:41Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
De &amp;quot;irc&amp;quot; resource zorgt voor een echobot die berichten zoals chatberichten output op een irc channel.&lt;br /&gt;
Informatie over &amp;quot;irc&amp;quot; of &amp;quot;Internet Relay Chat&amp;quot; kan gevonden worden op [http://nl.wikipedia.org/wiki/Internet_Relay_Chat Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installatie==&lt;br /&gt;
Om deze resource aan de praat te krijgen op je Linux of Windows server, volg deze stappen:&lt;br /&gt;
&lt;br /&gt;
* '''Installeer de sockets module'''&lt;br /&gt;
** '''Download de module''': Je kan deze module vinden op het [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download het ml_sockets.dll bestand voor Windows en het ml_sockets.so bestand voor Linux&lt;br /&gt;
** '''Voeg de module toe in de MTA map''': Om deze module te laten moet deze in de volgende map geplaatst worden: mods/deathmatch/modules, als deze map niet bestaat, maak ze dan.&lt;br /&gt;
** '''Voeg de module toe aan het mtaserver.conf bestand''': Om de module te laden wanneer de server start, voeg dan dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; voor Windows en dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; voor Linux toe aan je mtaserver.conf.&lt;br /&gt;
* '''Installeer de IRC resource'''&lt;br /&gt;
** '''Download de resource''': De IRC resource kan gevond worden op de [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], plaats de resource in de resources map.&lt;br /&gt;
** '''Pas het settings.xml bestand aan''': Open dit bestand en volg de instructies in het bestand om de bot te configureren.&lt;br /&gt;
** '''Pas het meta.xml bestand aan''': In dit bestand staan een aantal settings met betrekken tot reclame en ingame gui's, '''blijf van de rest!''' Je kan deze settings ook veranderen in je admin paneel wanneer de resource geladen is.&lt;br /&gt;
** '''Acl rechten''' De resource heeft een aantal rechten nodig om goed te werken waaronder: addBan, kickPlayer &amp;amp; callRemote. Als de resource niet genoeg rechten heeft verschijnt er een bericht in de console en kan de resource niet starten.&lt;br /&gt;
&lt;br /&gt;
Nu kan je de resource starten, als de server aan het werken was tijdens deze bewerkingen doe dan eerst: /loadmodule ml_sockets.dll of /loadmodule ml_sockets.so en /refreshall voordat je /start irc doet.&lt;br /&gt;
&lt;br /&gt;
==Het acl.xml bestand==&lt;br /&gt;
Het acl.xml bestand in de irc resource zorgt voor de acl rechten van irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* De name is de command met uitroepteken&lt;br /&gt;
* De level is het minimum level dat de irc user moet hebben om de command te gebruiken.&lt;br /&gt;
* De echoChannelOnly bepaald ofdat je de command kan gebruiken buiten het echochannel&lt;br /&gt;
&lt;br /&gt;
==Elementen==&lt;br /&gt;
Alle gebruikers, kanalen &amp;amp; servers gekend door de irc resource worden voorgestand door elementen&lt;br /&gt;
* Servers zijn de volgende elementen: 'irc-server'&lt;br /&gt;
* Channels zijn de volgende elementen: 'irc-channel'&lt;br /&gt;
* Users zijn de volgende elementen: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level systeem==&lt;br /&gt;
De irc resource gebruikt geen irc modes systeem voor zijn acl, maar wel nummers.&lt;br /&gt;
* Owner (~) is nu level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is nu level 4&lt;br /&gt;
* Operator (@) is nu level 3&lt;br /&gt;
* Helper (%) is nu level 2&lt;br /&gt;
* Voice (+) is nu level 1&lt;br /&gt;
Alle andere gebruikers zijn nu level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
Gedurende het irc proces worden een aantal events getriggerd om het je gemakkelijk te maken om extensies te schrijven.&lt;br /&gt;
Je moet wel addEvent(&amp;quot;eventName&amp;quot;) doen om ze te kunnen gebruiken.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Naam'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' kan nil zijn als 'theUser' gequit heeft zonder reden.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' kan false zijn als 'theUser' gekickt was door een service zoals de nickserv.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als 'theUser' geopt was door een service zoals de chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als de mode geset was door een service zoals chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Geëxporteerde functies==&lt;br /&gt;
Deze functies kunnen gebeld worden van andere resources om het schrijven van extensies mogelijk te maken&lt;br /&gt;
Gebruik de exports tabel of [[call]] om ze te gebruiken.&lt;br /&gt;
&lt;br /&gt;
Voorbeeld 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Voorbeeld 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''functie naam'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall/string functionName, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Gebruik een string met de functie naam als je deze functie gebruikt vanuit een andere resource, zorg ervoor dat deze functie geëxporteerd is&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Alle parameters die tussen haakjes staan zijn optioneel, zie [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Commandos==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''commando'''&lt;br /&gt;
|width='100pt'|'''level'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kick'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!uptime'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!say'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!s'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!m'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!players'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!pm'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ts'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getip'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getserial'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unmute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mutes'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!freeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unfreeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kill'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!slap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banname'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!bans'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!commands'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!cmds'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!lua'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!run'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!crun'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!resources'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!start'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!restart'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!stop'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!account'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!community'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!money'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!health'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!wantedlevel'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!team'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ping'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!modules'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!changemap'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!map'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!shutdown'''&lt;br /&gt;
|width='100pt'|'''5'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!password'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!gravity'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!weather'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!server'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!zone'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refreshall'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refresh'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!checkmap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!country'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Aanpassen==&lt;br /&gt;
Gelieve de resource niet aan te passen, je kan ze breken. Schrijf extensies.&lt;br /&gt;
&lt;br /&gt;
==Contacteren==&lt;br /&gt;
De auteur (MCvarial) kan gecontacteerd worden op IRC (#mta,#mta.dutch)&lt;br /&gt;
Of via email (MCvarial@gmail.com)&lt;br /&gt;
&lt;br /&gt;
[[en:Resource:Irc]]&lt;br /&gt;
[[ru:Resource:Irc]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=36674</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=36674"/>
		<updated>2013-07-15T12:05:04Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall/string functionName, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Use a string with the function name for the second argument if your are calling this function from another resource, also make sure the function is exported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Commands==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''command'''&lt;br /&gt;
|width='100pt'|'''level'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kick'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!uptime'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!say'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!s'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!m'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!players'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!pm'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ts'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getip'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!getserial'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unmute'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!mutes'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!freeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unfreeze'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!kill'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!slap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!banname'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanip'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unbanserial'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!unban'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!bans'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!commands'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!cmds'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!lua'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!run'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!crun'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!resources'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!start'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!restart'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!stop'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!account'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!community'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!money'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!health'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!wantedlevel'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!team'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!ping'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!modules'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!changemap'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!map'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!shutdown'''&lt;br /&gt;
|width='100pt'|'''5'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!password'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!gravity'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!weather'''&lt;br /&gt;
|width='100pt'|'''3'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!server'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!zone'''&lt;br /&gt;
|width='100pt'|'''0'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refreshall'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!refresh'''&lt;br /&gt;
|width='100pt'|'''4'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!checkmap'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''!country'''&lt;br /&gt;
|width='100pt'|'''2'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break it and cause it to malfunction or to spam errors.&lt;br /&gt;
If this happens you will not get any support.&lt;br /&gt;
Write extensions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;br /&gt;
&lt;br /&gt;
[[nl:Resource:Irc]]&lt;br /&gt;
[[ru:Resource:Irc]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetElementHealth&amp;diff=36565</id>
		<title>SetElementHealth</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetElementHealth&amp;diff=36565"/>
		<updated>2013-07-08T15:35:56Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the health for the specified [[element]]. This can be a [[ped]], [[object]] or a [[vehicle]].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setElementHealth ( element theElement, float newHealth )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The [[ped]], [[vehicle]] or [[object]] whose health you want to set.&lt;br /&gt;
*'''newHealth:''' A float indicating the new health to set for the element.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the new health was set successfully, or ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds a 'hpslap' console command that lets players &amp;quot;slap&amp;quot; others (doing 20 damage).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function hpSlap ( sourcePlayer, command, targetPlayerName )&lt;br /&gt;
    -- check if the user has access to it first&lt;br /&gt;
    if not hasObjectPermissionTo(sourcePlayer, &amp;quot;command.slap&amp;quot;, false) then&lt;br /&gt;
        outputChatBox ( &amp;quot;You cannot use this command.&amp;quot;, sourcePlayer )&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
    -- look up the player to be slapped&lt;br /&gt;
    local targetPlayer = getPlayerFromName ( targetPlayerName )&lt;br /&gt;
    -- if there's a player with such name,&lt;br /&gt;
    if targetPlayer then&lt;br /&gt;
        -- subtract 20 from his health&lt;br /&gt;
        setElementHealth ( targetPlayer, getElementHealth(targetPlayer) - 20 )&lt;br /&gt;
    else&lt;br /&gt;
        -- otherwise, output an error message&lt;br /&gt;
        outputChatBox ( &amp;quot;There is no player named &amp;quot; .. targetPlayerName .. &amp;quot;!&amp;quot;, sourcePlayer )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
-- add our function as a handler for &amp;quot;hpslap&amp;quot;&lt;br /&gt;
addCommandHandler ( &amp;quot;hpslap&amp;quot;, hpSlap )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetElementHealth&amp;diff=36564</id>
		<title>SetElementHealth</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetElementHealth&amp;diff=36564"/>
		<updated>2013-07-08T15:33:51Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the health for the specified [[element]]. This can be a [[player]], [[object]] or a [[vehicle]].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setElementHealth ( element theElement, float newHealth )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The [[player]], [[vehicle]] or [[object]] whose health you want to set.&lt;br /&gt;
*'''newHealth:''' A float indicating the new health to set for the element.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the new health was set successfully, or ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds a 'hpslap' console command that lets players &amp;quot;slap&amp;quot; others (doing 20 damage).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function hpSlap ( sourcePlayer, command, targetPlayerName )&lt;br /&gt;
    -- check if the user has access to it first&lt;br /&gt;
    if not hasObjectPermissionTo(sourcePlayer, &amp;quot;command.slap&amp;quot;, false) then&lt;br /&gt;
        outputChatBox ( &amp;quot;You cannot use this command.&amp;quot;, sourcePlayer )&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
    -- look up the player to be slapped&lt;br /&gt;
    local targetPlayer = getPlayerFromName ( targetPlayerName )&lt;br /&gt;
    -- if there's a player with such name,&lt;br /&gt;
    if targetPlayer then&lt;br /&gt;
        -- subtract 20 from his health&lt;br /&gt;
        setElementHealth ( targetPlayer, getElementHealth(targetPlayer) - 20 )&lt;br /&gt;
    else&lt;br /&gt;
        -- otherwise, output an error message&lt;br /&gt;
        outputChatBox ( &amp;quot;There is no player named &amp;quot; .. targetPlayerName .. &amp;quot;!&amp;quot;, sourcePlayer )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
-- add our function as a handler for &amp;quot;hpslap&amp;quot;&lt;br /&gt;
addCommandHandler ( &amp;quot;hpslap&amp;quot;, hpSlap )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetElementHealth&amp;diff=36563</id>
		<title>SetElementHealth</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetElementHealth&amp;diff=36563"/>
		<updated>2013-07-08T15:32:39Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the health for the specified [[element]]. This can be a [[player]] or a [[vehicle]].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setElementHealth ( element theElement, float newHealth )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theElement:''' The [[player]], [[vehicle]] or [[object]] whose health you want to set.&lt;br /&gt;
*'''newHealth:''' A float indicating the new health to set for the element.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the new health was set successfully, or ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example adds a 'hpslap' console command that lets players &amp;quot;slap&amp;quot; others (doing 20 damage).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function hpSlap ( sourcePlayer, command, targetPlayerName )&lt;br /&gt;
    -- check if the user has access to it first&lt;br /&gt;
    if not hasObjectPermissionTo(sourcePlayer, &amp;quot;command.slap&amp;quot;, false) then&lt;br /&gt;
        outputChatBox ( &amp;quot;You cannot use this command.&amp;quot;, sourcePlayer )&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
    -- look up the player to be slapped&lt;br /&gt;
    local targetPlayer = getPlayerFromName ( targetPlayerName )&lt;br /&gt;
    -- if there's a player with such name,&lt;br /&gt;
    if targetPlayer then&lt;br /&gt;
        -- subtract 20 from his health&lt;br /&gt;
        setElementHealth ( targetPlayer, getElementHealth(targetPlayer) - 20 )&lt;br /&gt;
    else&lt;br /&gt;
        -- otherwise, output an error message&lt;br /&gt;
        outputChatBox ( &amp;quot;There is no player named &amp;quot; .. targetPlayerName .. &amp;quot;!&amp;quot;, sourcePlayer )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
-- add our function as a handler for &amp;quot;hpslap&amp;quot;&lt;br /&gt;
addCommandHandler ( &amp;quot;hpslap&amp;quot;, hpSlap )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/bIRC&amp;diff=36433</id>
		<title>Modules/bIRC</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/bIRC&amp;diff=36433"/>
		<updated>2013-06-21T10:09:25Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#0099AA&amp;quot; subcaption=&amp;quot;Basic IRC Module&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{Outdated|Development for this module seems to have halted, use [[resource:irc]] for now.}}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_birc |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:Awwu|Awwu]] &amp;lt;awwugta@gmail.com&amp;gt; |&lt;br /&gt;
  module_website = ''None'' |&lt;br /&gt;
  download_link  = ''Soon'' |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
  written_in     = Unknown |&lt;br /&gt;
  operating_system = Windows only |&lt;br /&gt;
  compatible_with = 1.0 |&lt;br /&gt;
}}&lt;br /&gt;
Basic IRC module (bIRC) provides a fully functional server IRC echo for MTA:SA. It is currently available only for Windows servers on MTA:SA 1.0 (other versions untested).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Uncompress the file ml_birc.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;module src=&amp;quot;ml_birc&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Provided scripting functionality==&lt;br /&gt;
{{ml_birc functions}}&lt;br /&gt;
{{ml_birc callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[ru:Modules/bIRC]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/SebasIRC&amp;diff=36432</id>
		<title>Modules/SebasIRC</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/SebasIRC&amp;diff=36432"/>
		<updated>2013-06-21T10:09:11Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|Development for this module has stopped, use [[resource:irc]] instead.}}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_irc |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:Sebassje|x86]] &amp;lt;sebasdevelopment@gmx.com&amp;gt; |&lt;br /&gt;
  module_website = ''[http://code.google.com/p/multitheftauto-modules/ Here]'' |&lt;br /&gt;
  download_link  = ''[http://multitheftauto-modules.googlecode.com/svn/branches/ml_irc-rewrite/output/ml_irc.dll Here]'' |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
}}&lt;br /&gt;
This ml_irc is a module for your MTA:SA 1.x Windows server, that provides IRC echo.&lt;br /&gt;
* '''Note:''' The bot can't join multiple servers.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_irc.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Linux===&lt;br /&gt;
Place the file ml_irc.so into your ''server/mods/deathmatch/modules/'' directory.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_irc&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Functions===&lt;br /&gt;
{{Modules/SebasIRC/Functions}}&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
{{Modules/SebasIRC/Events}}&lt;br /&gt;
&lt;br /&gt;
[[ru:Modules/SebasIRC]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=36431</id>
		<title>Modules/IRCEcho</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=36431"/>
		<updated>2013-06-21T10:08:02Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|This module only works on DP2.3, use [[resource:irc]] for now}}&lt;br /&gt;
&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = MTASA IRC Echo |&lt;br /&gt;
  version        = 2.1 |&lt;br /&gt;
  author         = [[User:VRocker|VRocker]] |&lt;br /&gt;
  module_website = ''Not available'' |&lt;br /&gt;
  download_link  = [http://liberty-unleashed.co.uk/MTA/IRC%20Echo%20Script%20v2.zip Here] |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Cross-platform |&lt;br /&gt;
  compatible_with = DP2.3 |&lt;br /&gt;
}}&lt;br /&gt;
MTASA IRC Echo is a module that provides an IRC echo for an MTASA server. It is available for both Windows and Linux.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_ircecho.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.dll&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Uncompress the file ml_ircecho.so into your ''%MTASERVER%\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.so&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{{Modules/IRCEcho/Functions}}&lt;br /&gt;
&lt;br /&gt;
==Callbacks==&lt;br /&gt;
{{Modules/IRCEcho/Callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[ru:Modules/IRCEcho]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=30033</id>
		<title>NL/Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=30033"/>
		<updated>2012-04-21T18:00:19Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
De &amp;quot;irc&amp;quot; resource zorgt voor een echobot die berichten zoals chatberichten output op een irc channel.&lt;br /&gt;
Informatie over &amp;quot;irc&amp;quot; of &amp;quot;Internet Relay Chat&amp;quot; kan gevonden worden op [http://nl.wikipedia.org/wiki/Internet_Relay_Chat Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installatie==&lt;br /&gt;
Om deze resource aan de praat te krijgen op je Linux of Windows server, volg deze stappen:&lt;br /&gt;
&lt;br /&gt;
* '''Installeer de sockets module'''&lt;br /&gt;
** '''Download de module''': Je kan deze module vinden op het [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download het ml_sockets.dll bestand voor Windows en het ml_sockets.so bestand voor Linux&lt;br /&gt;
** '''Voeg de module toe in de MTA map''': Om deze module te laten moet deze in de volgende map geplaatst worden: mods/deathmatch/modules, als deze map niet bestaat, maak ze dan.&lt;br /&gt;
** '''Voeg de module toe aan het mtaserver.conf bestand''': Om de module te laden wanneer de server start, voeg dan dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; voor Windows en dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; voor Linux toe aan je mtaserver.conf.&lt;br /&gt;
* '''Installeer de IRC resource'''&lt;br /&gt;
** '''Download de resource''': De IRC resource kan gevond worden op de [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], plaats de resource in de resources map.&lt;br /&gt;
** '''Pas het settings.xml bestand aan''': Open dit bestand en volg de instructies in het bestand om de bot te configureren.&lt;br /&gt;
** '''Pas het meta.xml bestand aan''': In dit bestand staan een aantal settings met betrekken tot reclame en ingame gui's, '''blijf van de rest!''' Je kan deze settings ook veranderen in je admin paneel wanneer de resource geladen is.&lt;br /&gt;
** '''Acl rechten''' De resource heeft een aantal rechten nodig om goed te werken waaronder: addBan, kickPlayer &amp;amp; callRemote. Als de resource niet genoeg rechten heeft verschijnt er een bericht in de console en kan de resource niet starten.&lt;br /&gt;
&lt;br /&gt;
Nu kan je de resource starten, als de server aan het werken was tijdens deze bewerkingen doe dan eerst: /loadmodule ml_sockets.dll of /loadmodule ml_sockets.so en /refreshall voordat je /start irc doet.&lt;br /&gt;
&lt;br /&gt;
==Het acl.xml bestand==&lt;br /&gt;
Het acl.xml bestand in de irc resource zorgt voor de acl rechten van irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* De name is de command met uitroepteken&lt;br /&gt;
* De level is het minimum level dat de irc user moet hebben om de command te gebruiken.&lt;br /&gt;
* De echoChannelOnly bepaald ofdat je de command kan gebruiken buiten het echochannel&lt;br /&gt;
&lt;br /&gt;
==Elementen==&lt;br /&gt;
Alle gebruikers, kanalen &amp;amp; servers gekend door de irc resource worden voorgestand door elementen&lt;br /&gt;
* Servers zijn de volgende elementen: 'irc-server'&lt;br /&gt;
* Channels zijn de volgende elementen: 'irc-channel'&lt;br /&gt;
* Users zijn de volgende elementen: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level systeem==&lt;br /&gt;
De irc resource gebruikt geen irc modes systeem voor zijn acl, maar wel nummers.&lt;br /&gt;
* Owner (~) is nu level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is nu level 4&lt;br /&gt;
* Operator (@) is nu level 3&lt;br /&gt;
* Helper (%) is nu level 2&lt;br /&gt;
* Voice (+) is nu level 1&lt;br /&gt;
Alle andere gebruikers zijn nu level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
Gedurende het irc proces worden een aantal events getriggerd om het je gemakkelijk te maken om extensies te schrijven.&lt;br /&gt;
Je moet wel addEvent(&amp;quot;eventName&amp;quot;) doen om ze te kunnen gebruiken.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Naam'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' kan nil zijn als 'theUser' gequit heeft zonder reden.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' kan false zijn als 'theUser' gekickt was door een service zoals de nickserv.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als 'theUser' geopt was door een service zoals de chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als de mode geset was door een service zoals chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Geëxporteerde functies==&lt;br /&gt;
Deze functies kunnen gebeld worden van andere resources om het schrijven van extensies mogelijk te maken&lt;br /&gt;
Gebruik de exports tabel of [[call]] om ze te gebruiken.&lt;br /&gt;
&lt;br /&gt;
Voorbeeld 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Voorbeeld 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''functie naam'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall/string functionName, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Gebruik een string met de functie naam als je deze functie gebruikt vanuit een andere resource, zorg ervoor dat deze functie geëxporteerd is&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Alle parameters die tussen haakjes staan zijn optioneel, zie [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Aanpassen==&lt;br /&gt;
Gelieve de resource niet aan te passen, je kan ze breken. Schrijf extensies.&lt;br /&gt;
&lt;br /&gt;
==Contacteren==&lt;br /&gt;
De auteur (MCvarial) kan gecontacteerd worden op IRC (#mta,#mta.dutch)&lt;br /&gt;
Of via email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=30032</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=30032"/>
		<updated>2012-04-21T17:58:31Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Exported functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall/string functionName, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Use a string with the function name for the second argument if your are calling this function from another resource, also make sure the function is exported.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break it and cause it to malfunction or to spam errors.&lt;br /&gt;
If this happens you will not get any support.&lt;br /&gt;
Write extensions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=30031</id>
		<title>NL/Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=30031"/>
		<updated>2012-04-21T16:16:57Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Geëxporteerde functies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
De &amp;quot;irc&amp;quot; resource zorgt voor een echobot die berichten zoals chatberichten output op een irc channel.&lt;br /&gt;
Informatie over &amp;quot;irc&amp;quot; of &amp;quot;Internet Relay Chat&amp;quot; kan gevonden worden op [http://nl.wikipedia.org/wiki/Internet_Relay_Chat Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installatie==&lt;br /&gt;
Om deze resource aan de praat te krijgen op je Linux of Windows server, volg deze stappen:&lt;br /&gt;
&lt;br /&gt;
* '''Installeer de sockets module'''&lt;br /&gt;
** '''Download de module''': Je kan deze module vinden op het [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download het ml_sockets.dll bestand voor Windows en het ml_sockets.so bestand voor Linux&lt;br /&gt;
** '''Voeg de module toe in de MTA map''': Om deze module te laten moet deze in de volgende map geplaatst worden: mods/deathmatch/modules, als deze map niet bestaat, maak ze dan.&lt;br /&gt;
** '''Voeg de module toe aan het mtaserver.conf bestand''': Om de module te laden wanneer de server start, voeg dan dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; voor Windows en dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; voor Linux toe aan je mtaserver.conf.&lt;br /&gt;
* '''Installeer de IRC resource'''&lt;br /&gt;
** '''Download de resource''': De IRC resource kan gevond worden op de [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], plaats de resource in de resources map.&lt;br /&gt;
** '''Pas het settings.xml bestand aan''': Open dit bestand en volg de instructies in het bestand om de bot te configureren.&lt;br /&gt;
** '''Pas het meta.xml bestand aan''': In dit bestand staan een aantal settings met betrekken tot reclame en ingame gui's, '''blijf van de rest!''' Je kan deze settings ook veranderen in je admin paneel wanneer de resource geladen is.&lt;br /&gt;
** '''Acl rechten''' De resource heeft een aantal rechten nodig om goed te werken waaronder: addBan, kickPlayer &amp;amp; callRemote. Als de resource niet genoeg rechten heeft verschijnt er een bericht in de console en kan de resource niet starten.&lt;br /&gt;
&lt;br /&gt;
Nu kan je de resource starten, als de server aan het werken was tijdens deze bewerkingen doe dan eerst: /loadmodule ml_sockets.dll of /loadmodule ml_sockets.so en /refreshall voordat je /start irc doet.&lt;br /&gt;
&lt;br /&gt;
==Het acl.xml bestand==&lt;br /&gt;
Het acl.xml bestand in de irc resource zorgt voor de acl rechten van irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* De name is de command met uitroepteken&lt;br /&gt;
* De level is het minimum level dat de irc user moet hebben om de command te gebruiken.&lt;br /&gt;
* De echoChannelOnly bepaald ofdat je de command kan gebruiken buiten het echochannel&lt;br /&gt;
&lt;br /&gt;
==Elementen==&lt;br /&gt;
Alle gebruikers, kanalen &amp;amp; servers gekend door de irc resource worden voorgestand door elementen&lt;br /&gt;
* Servers zijn de volgende elementen: 'irc-server'&lt;br /&gt;
* Channels zijn de volgende elementen: 'irc-channel'&lt;br /&gt;
* Users zijn de volgende elementen: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level systeem==&lt;br /&gt;
De irc resource gebruikt geen irc modes systeem voor zijn acl, maar wel nummers.&lt;br /&gt;
* Owner (~) is nu level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is nu level 4&lt;br /&gt;
* Operator (@) is nu level 3&lt;br /&gt;
* Helper (%) is nu level 2&lt;br /&gt;
* Voice (+) is nu level 1&lt;br /&gt;
Alle andere gebruikers zijn nu level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
Gedurende het irc proces worden een aantal events getriggerd om het je gemakkelijk te maken om extensies te schrijven.&lt;br /&gt;
Je moet wel addEvent(&amp;quot;eventName&amp;quot;) doen om ze te kunnen gebruiken.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Naam'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' kan nil zijn als 'theUser' gequit heeft zonder reden.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' kan false zijn als 'theUser' gekickt was door een service zoals de nickserv.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als 'theUser' geopt was door een service zoals de chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als de mode geset was door een service zoals chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Geëxporteerde functies==&lt;br /&gt;
Deze functies kunnen gebeld worden van andere resources om het schrijven van extensies mogelijk te maken&lt;br /&gt;
Gebruik de exports tabel of [[call]] om ze te gebruiken.&lt;br /&gt;
&lt;br /&gt;
Voorbeeld 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Voorbeeld 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''functie naam'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|''''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Alle parameters die tussen haakjes staan zijn optioneel, zie [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Aanpassen==&lt;br /&gt;
Gelieve de resource niet aan te passen, je kan ze breken. Schrijf extensies.&lt;br /&gt;
&lt;br /&gt;
==Contacteren==&lt;br /&gt;
De auteur (MCvarial) kan gecontacteerd worden op IRC (#mta,#mta.dutch)&lt;br /&gt;
Of via email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=30030</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=30030"/>
		<updated>2012-04-21T16:14:42Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Exported functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break it and cause it to malfunction or to spam errors.&lt;br /&gt;
If this happens you will not get any support.&lt;br /&gt;
Write extensions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=29994</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=29994"/>
		<updated>2012-04-19T21:40:51Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserRealName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break it and cause it to malfunction or to spam errors.&lt;br /&gt;
If this happens you will not get any support.&lt;br /&gt;
Write extensions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Race&amp;diff=27780</id>
		<title>Resource:Race</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Race&amp;diff=27780"/>
		<updated>2011-11-13T11:54:57Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;race&amp;quot; gamemode organizes sprint or freeroam races for one or more players. It supports both maps from MTA:Race and maps in the MTA:SA DM map syntax that were created in the map editor.&lt;br /&gt;
&lt;br /&gt;
==Ingame==&lt;br /&gt;
Playing race is quite straightforward. If there are checkpoints, drive from checkpoint to checkpoint and be the first to reach the finish line within the time. If there are no checkpoints, just drive around and have fun.&lt;br /&gt;
&lt;br /&gt;
In races you may encounter three types of pickups which will have an effect on your vehicle:&lt;br /&gt;
*'''Repair pickups:''' this pickup looks like a wrench. If you drive over it, your vehicle will be restored to full health.&lt;br /&gt;
*'''Nitrous oxide pickups:''' a red NOS bottle. After you drive over one you can press the fire button (by default the left mouse button) to get a temporary speed boost.&lt;br /&gt;
*'''Vehicle change pickups:''' these display the name of a vehicle above them. As soon as you drive over a pickup your vehicle will be changed.&lt;br /&gt;
&lt;br /&gt;
Lastly, if you get stuck during a race, you can enter the /kill command in the chatbox to kill yourself and respawn at the previous checkpoint.&lt;br /&gt;
&lt;br /&gt;
==Converting MTA:Race maps==&lt;br /&gt;
Use the [http://files.mtasa.com/apps/1.0/raceconv.zip batch converter] to convert all your MTA:Race maps into MTA:SA maps in one go.&lt;br /&gt;
&lt;br /&gt;
==Map syntax==&lt;br /&gt;
You can create race maps using the new MTA:SA [[Resource:editor|map editor]]. The map syntax is given here for reference.&lt;br /&gt;
&lt;br /&gt;
===.map file===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;map&amp;gt;&lt;br /&gt;
    &amp;lt;!-- One or more --&amp;gt;&lt;br /&gt;
    &amp;lt;spawnpoint posX=&amp;quot;X&amp;quot; posY=&amp;quot;Y&amp;quot; posZ=&amp;quot;Z&amp;quot; rotation=&amp;quot;Rotation in degrees&amp;quot; vehicle=&amp;quot;Vehicle ID&amp;quot; id=&amp;quot;spawnpointID&amp;quot; [ paintjob=&amp;quot;paintjob ID&amp;quot; upgrades=&amp;quot;comma-separated list of upgrades&amp;quot; ] /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Zero or more --&amp;gt; &lt;br /&gt;
    &amp;lt;checkpoint posX=&amp;quot;X&amp;quot; posY=&amp;quot;Y&amp;quot; posZ=&amp;quot;Z&amp;quot; color=&amp;quot;#FF0000&amp;quot; id=&amp;quot;textual or numeric checkpoint ID&amp;quot; nextid=&amp;quot;ID of checkpoint after this one&amp;quot; [ size=&amp;quot;checkpoint size&amp;quot; vehicle=&amp;quot;vehicle ID to change into&amp;quot; type=&amp;quot;checkpoint/ring/cylinder/arrow/corona&amp;quot; paintjob=&amp;quot;paintjob ID&amp;quot; upgrades=&amp;quot;comma-separated list of upgrades&amp;quot; ] /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Zero or more --&amp;gt;&lt;br /&gt;
    &amp;lt;object posX=&amp;quot;X&amp;quot; posY=&amp;quot;Y&amp;quot; posZ=&amp;quot;Z&amp;quot; rotX=&amp;quot;in degrees&amp;quot; rotY=&amp;quot;in degrees&amp;quot; rotZ=&amp;quot;in degrees&amp;quot; model=&amp;quot;model ID&amp;quot; id=&amp;quot;objectID&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Zero or more --&amp;gt;&lt;br /&gt;
    &amp;lt;pickup posX=&amp;quot;X&amp;quot; posY=&amp;quot;Y&amp;quot; posZ=&amp;quot;Z&amp;quot; type=&amp;quot;repair|nitro|vehiclechange&amp;quot; id=&amp;quot;pickupID&amp;quot; [ vehicle=&amp;quot;vehicle ID&amp;quot; paintjob=&amp;quot;paintjob ID&amp;quot; upgrades=&amp;quot;comma-separated list of upgrades&amp;quot; ] /&amp;gt;&lt;br /&gt;
&amp;lt;/map&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===meta.xml===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;meta&amp;gt;&lt;br /&gt;
   &amp;lt;info type=&amp;quot;map&amp;quot; gamemodes=&amp;quot;race&amp;quot; name=&amp;quot;Map name&amp;quot; author=&amp;quot;Author name&amp;quot; description=&amp;quot;Map description&amp;quot; version=&amp;quot;Map version number&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;race src=&amp;quot;Map file.map&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;settings&amp;gt;&lt;br /&gt;
      &amp;lt;setting name=&amp;quot;#optionName&amp;quot; value=&amp;quot;optionValue&amp;quot;/&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
   &amp;lt;/settings&amp;gt;&lt;br /&gt;
&amp;lt;/meta&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The &amp;lt;setting&amp;gt;s correspond to options in MTA:Race syntax. For example, &amp;lt;time&amp;gt;4:0&amp;lt;/time&amp;gt; in MTA:Race syntax would correspond to &amp;lt;setting name=&amp;quot;#time&amp;quot; value=&amp;quot;4:0&amp;quot;/&amp;gt; in DM syntax.&lt;br /&gt;
&lt;br /&gt;
==Addons==&lt;br /&gt;
A Race 'addon' is no different from any other script resource, except that is has addon=&amp;quot;race&amp;quot; in the &amp;lt;info&amp;gt; section of it's meta.xml file. This is simply to allow Race to identify it and put it in the /config menu for you. Addons communicate with Race via events. The current list of Race events and what they do are here:&lt;br /&gt;
&lt;br /&gt;
==Events for version 0.8.3==&lt;br /&gt;
'''Note:''' You may have to add the events in your script using addEvent() if you want to use them.&lt;br /&gt;
===Server===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onPlayerReachCheckpoint'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|player	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int checkpoint, int time_&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onPlayerPickUpRacePickup'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|player	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int/string pickupID, string pickupType, int vehicleModel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-		&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onMapStarting'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table mapInfo, table mapOptions, table gameOptions&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onPlayerFinish'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|player	&lt;br /&gt;
|height=&amp;quot;20pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int rank, int time&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onPostFinish'''	&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onPollStarting'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table poll&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onRaceStateChanging'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string newStateName, string oldStateName&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onPlayerRaceWasted'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|player&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;vehicle playersVehicle&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Client===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onClientMapStarting'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table mapinfo&amp;lt;/syntaxhighlight&amp;gt;	&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onClientPlayerFinish'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|player	&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onClientPlayerOutOfTime'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|player	&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onClientMapStopping'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onClientScreenFadedOut'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onClientScreenFadedIn'''&lt;br /&gt;
|width=&amp;quot;60pt&amp;quot;|&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Events for version 0.8.3 in detail==&lt;br /&gt;
'''Note:''' You may have to add the events in your script using addEvent() if you want to use them.&lt;br /&gt;
===onRaceStateChanging===&lt;br /&gt;
Triggered when the race resource starts doing something else.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string newState, string oldState&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''newState:''' the new state&lt;br /&gt;
*'''oldState:''' the old state&lt;br /&gt;
&lt;br /&gt;
Possible states:&lt;br /&gt;
* undefined     &lt;br /&gt;
* NoMap      &lt;br /&gt;
* LoadingMap    &lt;br /&gt;
* PreGridCountdown&lt;br /&gt;
* GridCountdown&lt;br /&gt;
* Running    &lt;br /&gt;
* MidMapVote&lt;br /&gt;
* SomeoneWon&lt;br /&gt;
* TimesUp&lt;br /&gt;
* EveryoneFinished&lt;br /&gt;
* PostFinish&lt;br /&gt;
* NextMapSelect&lt;br /&gt;
* NextMapVote&lt;br /&gt;
* ResourceStopping&lt;br /&gt;
&lt;br /&gt;
===Source===&lt;br /&gt;
The root element.&lt;br /&gt;
&lt;br /&gt;
===onPlayerReachCheckpoint===&lt;br /&gt;
Triggered when a player reaches any checkpoint but the last one.&lt;br /&gt;
====Parameters====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int checkpoint, int time&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''checkpoint:''' the number of the checkpoint the player went through. The first checkpoint has number 1.&lt;br /&gt;
*'''time:''' time since the race started, in milliseconds.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
The source is the player that reached the checkpoint.&lt;br /&gt;
&lt;br /&gt;
===onPlayerFinish===&lt;br /&gt;
Triggered when a player reaches the last checkpoint (i.e. has finished the race)&lt;br /&gt;
====Parameters====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int rank, int time&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''rank:''' the player's rank. 1 means he won the race, 2 that he came in second place, etc.&lt;br /&gt;
*'''time:''' time since the race started, in milliseconds.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
The source is the player that finished the race.&lt;br /&gt;
&lt;br /&gt;
===onPlayerPickUpRacePickup===&lt;br /&gt;
====Parameters====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int/string pickupID, string pickupType, int vehicleModel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''pickupID:''' the number of the pickup in case of MTA:Race syntax (starting at 1), or the &amp;quot;id&amp;quot; attribute of the pickup in case of DM syntax.&lt;br /&gt;
*'''pickupType:''' the pickup type. Can be &amp;quot;nitro&amp;quot;, &amp;quot;repair&amp;quot; or &amp;quot;vehiclechange&amp;quot;.&lt;br /&gt;
*'''vehicleModel:''' if the pickup is of type vehiclechange, this is the vehicle model that it sets.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
The source is the player that picked up the pickup.&lt;br /&gt;
&lt;br /&gt;
==Element data==&lt;br /&gt;
These element data are set on each player:&lt;br /&gt;
*'''race rank:''' the current position of the player in the race. 1 = first, 2 = second etc. Updated on a 1 second interval.&lt;br /&gt;
*'''race.checkpoint:''' the number of the checkpoint the player is ''heading for''. When the player spawns this number is 1, after he passed the first checkpoint it's 2, etc.&lt;br /&gt;
*'''race.finished:''' ''true'' if the player has finished, ''false'' if he's still racing.&lt;br /&gt;
&lt;br /&gt;
This server only element data is set for the resource root element:&lt;br /&gt;
*'''info:''' which contains a table with these sub-tables: '''mapInfo''', '''mapOptions''' and '''gameOptions'''.&lt;br /&gt;
&lt;br /&gt;
==Super Advanced Element data==&lt;br /&gt;
You can also set player element data to change the player collision status and render transparency:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
e.g. setElementData( thePlayer, &amp;quot;overrideCollide.uniqueblah&amp;quot;, 0, false )		-- Collide 'off' for this player&lt;br /&gt;
     setElementData( thePlayer, &amp;quot;overrideCollide.uniqueblah&amp;quot;, nil, false )		-- Collide 'default' for this player&lt;br /&gt;
     setElementData( thePlayer, &amp;quot;overrideAlpha.uniqueblah&amp;quot;, 120, false )		-- Alpha '120 maximum' for this player&lt;br /&gt;
     setElementData( thePlayer, &amp;quot;overrideAlpha.uniqueblah&amp;quot;, nil, false )		-- Alpha 'default' for this player&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Set 'uniqueblah' to whatever you like (up to 15 characters long)&lt;br /&gt;
&lt;br /&gt;
==Exported Server functions==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;110pt&amp;quot;|'''getTimePassed'''&lt;br /&gt;
|height=&amp;quot;38pt&amp;quot;|&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;110pt&amp;quot;|'''getPlayerRank'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player thePlayer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;110pt&amp;quot;|'''isPlayerFinished'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player thePlayer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;vehicle&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;110pt&amp;quot;|'''getPlayerVehicle'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;player thePlayer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/Sockets&amp;diff=26764</id>
		<title>Modules/Sockets</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/Sockets&amp;diff=26764"/>
		<updated>2011-08-19T16:41:01Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#AA7592&amp;quot; subcaption=&amp;quot;Sockets Module&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_sockets |&lt;br /&gt;
  version        = 1.2 |&lt;br /&gt;
  author         = Gamesnert, x86 &amp;amp; MCvarial |&lt;br /&gt;
  module_website = ''[http://code.google.com/p/multitheftauto-modules/ Here]'' |&lt;br /&gt;
  download_link  = ''[http://code.google.com/p/multitheftauto-modules/downloads/list Here]'' |&lt;br /&gt;
  license        = ''GPLv3'' |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Cross-platform |&lt;br /&gt;
  compatible_with = 1.0.5 &amp;amp; 1.1&lt;br /&gt;
}}&lt;br /&gt;
This module provides socket related functions and events for MTA:SA.&lt;br /&gt;
Sockets provide various possibilities such as opening a webpage, connecting to irc etc.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_sockets.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Place the file ml_sockets.so into your ''server/mods/deathmatch/modules/'' directory.&lt;br /&gt;
&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_sockets&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Functions===&lt;br /&gt;
{{Modules/Sockets/Functions}}&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
{{Modules/Sockets/Events}}&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
*[[resource:irc]]&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=26759</id>
		<title>GuiSetProperty</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiSetProperty&amp;diff=26759"/>
		<updated>2011-08-19T11:53:27Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the value of a specific CEGUI property of a GUI element. For a list of properties and their meaning, see the [http://cegui.org.uk/static/WindowsLookProperties.html CEGUI properties wiki page].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiSetProperty ( element guiElement, string property, string value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiElement:''' the GUI element you wish to get a property of.&lt;br /&gt;
*'''property:''' the name of of property you want the value of.&lt;br /&gt;
*'''value:''' the new value for the property.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If the function succeeds it returns ''true'', if it fails it returns ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a button when the resource starts and defines a console command that toggles it between enabled (clickable) and disabled (not clickable).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function onStart()&lt;br /&gt;
  button = guiCreateButton( 20, 200, 150, 30, &amp;quot;Test&amp;quot;, false )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement( getThisResource() ), onStart )&lt;br /&gt;
&lt;br /&gt;
function toogleButton()&lt;br /&gt;
  local currentState = guiGetProperty( button, &amp;quot;Disabled&amp;quot; )&lt;br /&gt;
  if currentState == &amp;quot;False&amp;quot; then&lt;br /&gt;
    guiSetProperty( button, &amp;quot;Disabled&amp;quot;, &amp;quot;True&amp;quot; )&lt;br /&gt;
  else&lt;br /&gt;
    guiSetProperty( button, &amp;quot;Disabled&amp;quot;, &amp;quot;False&amp;quot; )&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler( &amp;quot;togglebtn&amp;quot;, toogleButton )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateVehicle&amp;diff=26713</id>
		<title>CreateVehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateVehicle&amp;diff=26713"/>
		<updated>2011-08-15T09:29:14Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|Numberplates only seem to work for some vehicles, and then only for the front or rear plate only}}&lt;br /&gt;
{{Needs_Checking|Link near see also is broken}} &lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function creates a vehicle at the specified location.&lt;br /&gt;
&lt;br /&gt;
Its worth noting that the position of the vehicle is the center point of the vehicle, not its base. As such, you need to ensure that the z value (vertical axis) is some height above the ground. You can find the exact height using the client side function [[getElementDistanceFromCentreOfMassToBaseOfModel]], or you can estimate it yourself and just spawn the vehicle so it drops to the ground.&lt;br /&gt;
&lt;br /&gt;
'''Important Note:''' Vehicles (and other elements) created client-side are only seen by the client that created them, aren't synced and players cannot enter them. They are essentially for display only.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
vehicle createVehicle ( int model, float x, float y, float z, [float rx, float ry, float rz, string numberplate] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''model''': The [[Vehicle IDs|vehicle ID]] of the vehicle being created.&lt;br /&gt;
* '''x''': A floating point number representing the X coordinate on the map.&lt;br /&gt;
* '''y''': A floating point number representing the Y coordinate on the map.&lt;br /&gt;
* '''z''': A floating point number representing the Z coordinate on the map.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
* '''rx''': A floating point number representing the rotation about the X axis in degrees.&lt;br /&gt;
* '''ry''': A floating point number representing the rotation about the Y axis in degrees.&lt;br /&gt;
* '''rz''': A floating point number representing the rotation about the Z axis in degrees.&lt;br /&gt;
* '''numberplate''': A string that will go on the number plate of the car (max 8 characters). This is only applicable to cars.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[vehicle]] element that was created. Returns ''false'' if the arguments are incorrect, or if the vehicle limit of 65535 is exceeded.&lt;br /&gt;
&lt;br /&gt;
==Using trains==&lt;br /&gt;
Trains are created using the createVehicle function. They are placed at the nearest point of the GTASA train pathing (railroad tracks) from their spawning point. &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script spawns a Rhino on top of one lucky individual.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scriptCreateTank ( player, command )&lt;br /&gt;
      local luckyBugger = getRandomPlayer() -- get a random player&lt;br /&gt;
      local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position&lt;br /&gt;
      createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them&lt;br /&gt;
      outputChatBox ( &amp;quot;You got Tank'd!&amp;quot;, luckyBugger )&lt;br /&gt;
end&lt;br /&gt;
--Attach the 'scriptCreateTank' function to the &amp;quot;tank&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;tank&amp;quot;, scriptCreateTank )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 2: Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script spawns a Rhino on top of the local player.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scriptCreateTank ( commandName )&lt;br /&gt;
      local luckyBugger = getLocalPlayer() -- get the local player&lt;br /&gt;
      local x, y, z = getElementPosition ( luckyBugger ) -- retrive the player's position&lt;br /&gt;
      createVehicle ( 432, x, y, z + 10 ) -- create the tank 10 units above them&lt;br /&gt;
      outputChatBox ( &amp;quot;You got Tank'd!&amp;quot;, 255, 0, 0)&lt;br /&gt;
end&lt;br /&gt;
--Attach the 'scriptCreateTank' function to the &amp;quot;tank&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;tank&amp;quot;, scriptCreateTank )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 3: Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a vehicle five units to the right of a player when they type ''createvehicle'' and its name in the console:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local distance = 5 --units&lt;br /&gt;
&lt;br /&gt;
-- define our handler (we'll take a variable number of parameters where the name goes, because there are vehicle names with more than one word)&lt;br /&gt;
function consoleCreateVehicle ( sourcePlayer, commandName, ... )&lt;br /&gt;
   -- if a player triggered it, not the admin,&lt;br /&gt;
   if ( sourcePlayer ) then&lt;br /&gt;
      -- calculate the position of the vehicle based on the player's position and rotation:&lt;br /&gt;
      local x, y, z = getElementPosition ( sourcePlayer ) -- get the player's position&lt;br /&gt;
      local rotZ = getPedRotation ( sourcePlayer ) -- get the player's rotation around the Z axis in degrees&lt;br /&gt;
      x = x + ( ( math.cos ( math.rad ( rotZ ) ) ) * distance ) -- calculate the X position of the vehicle&lt;br /&gt;
      y = y + ( ( math.sin ( math.rad ( rotZ ) ) ) * distance ) -- calculate the Y position of the vehicle&lt;br /&gt;
&lt;br /&gt;
      -- get the complete vehicle name by joining all passed parameters using Lua function table.concat&lt;br /&gt;
      local vehicleName = table.concat({...}, &amp;quot; &amp;quot;)&lt;br /&gt;
      -- get the vehicle's model ID from the name&lt;br /&gt;
      local vehicleID = getVehicleModelFromName ( vehicleName )&lt;br /&gt;
      -- if vehicle ID is valid,&lt;br /&gt;
      if vehicleID then&lt;br /&gt;
            -- create the vehicle using the information gathered above:&lt;br /&gt;
            local newVehicle = createVehicle ( vehicleID, x, y, z, 0, 0, rotZ )&lt;br /&gt;
            -- if vehicle creation failed, give the player a message&lt;br /&gt;
            if not newVehicle then&lt;br /&gt;
               outputConsole ( &amp;quot;Failed to create vehicle.&amp;quot;, sourcePlayer )&lt;br /&gt;
            end&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Attach the 'consoleCreateVehicle' function to the &amp;quot;createvehicle&amp;quot; command&lt;br /&gt;
addCommandHandler ( &amp;quot;createvehicle&amp;quot;, consoleCreateVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
{{IDs}}&lt;br /&gt;
&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=26697</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=26697"/>
		<updated>2011-08-14T20:02:18Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* &amp;lt;strike&amp;gt;graduate&amp;lt;/strike&amp;gt;&lt;br /&gt;
* learn C++&lt;br /&gt;
* &amp;lt;strike&amp;gt;actually contribute something to mta&amp;lt;/strike&amp;gt;&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=26692</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=26692"/>
		<updated>2011-08-14T10:20:35Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* TODO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for their servers&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* &amp;lt;strike&amp;gt;graduate&amp;lt;/strike&amp;gt;&lt;br /&gt;
* learn C++&lt;br /&gt;
* &amp;lt;strike&amp;gt;actually contribute something to mta&amp;lt;/strike&amp;gt;&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_strerror&amp;diff=26363</id>
		<title>Modules/cURL/curl strerror</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_strerror&amp;diff=26363"/>
		<updated>2011-07-16T15:41:24Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Returns a string with detailed information of an error.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_strerror(curl handler, CURLcode code)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
* '''code''' The curl code&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
The string containing the error, if the code was not found in the system it will return nil&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    result = curl_perform(curl, {&lt;br /&gt;
        writefunction = function(html)&lt;br /&gt;
            -- Hell what should i do with html? :S&lt;br /&gt;
        end,&lt;br /&gt;
    });&lt;br /&gt;
    print(curl_strerror(curl, result)); -- Since we know that mta exists, we sure get the text 'No error.'&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_close&amp;diff=26362</id>
		<title>Modules/cURL/curl close</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_close&amp;diff=26362"/>
		<updated>2011-07-16T15:41:16Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Closes the curl engine.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_close(curl handler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
True on succes, false otherwise&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_escape&amp;diff=26361</id>
		<title>Modules/cURL/curl escape</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_escape&amp;diff=26361"/>
		<updated>2011-07-16T15:41:07Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Escape url's. You wont need this function if you pass the url to curl_init.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_escape(curl handler, string url)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
* '''url''' The url you want to escape&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
The escaped url, if it fails it will return nil&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_init&amp;diff=26360</id>
		<title>Modules/cURL/curl init</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_init&amp;diff=26360"/>
		<updated>2011-07-16T15:40:58Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Modules/cURL/func_page|&lt;br /&gt;
description		= Initialize the curl engine.|&lt;br /&gt;
syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;curl curl_init([string url])&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
required_arguments      = *There are no required arguments.|&lt;br /&gt;
optional_arguments	= * '''url''' The url which you want to connect too.|&lt;br /&gt;
returns			= A valid curl handler on succes, otherwise it returns false|&lt;br /&gt;
example			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    // lets do something here.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_perform&amp;diff=26359</id>
		<title>Modules/cURL/curl perform</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_perform&amp;diff=26359"/>
		<updated>2011-07-16T15:40:39Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Let cURL do his work now, by call this function.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_perform(curl handler[, table callbackfunctions])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Optional arguments==&lt;br /&gt;
* '''callbackfunctions''' A set with callback functions;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local callbacks = {&lt;br /&gt;
    writefunction = function(data)&lt;br /&gt;
        -- This is the actual return data from the call&lt;br /&gt;
    end,&lt;br /&gt;
    headerfunction = function(data)&lt;br /&gt;
        -- This is the return headers from the call. (the webserver you call sends those headers back)&lt;br /&gt;
    end&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns a curl code, if the code is CURLE_OK then your good. Other wise pass this code to curl_strerror, and then you will know what is going on.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    curl_perform(curl, {&lt;br /&gt;
        writefunction = function(html)&lt;br /&gt;
            -- Hell what should i do with html? :S&lt;br /&gt;
        end,&lt;br /&gt;
    });&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_setopt&amp;diff=26358</id>
		<title>Modules/cURL/curl setopt</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_setopt&amp;diff=26358"/>
		<updated>2011-07-16T15:40:29Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Set an curl option.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curlcode curl_setopt(curl handler, curloption option, bool/number/string value)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''handler''' The curl handler.&lt;br /&gt;
* '''option''' An curl option, al the options are found [[Modules/cURL/CURLOPT|here]]&lt;br /&gt;
* '''value''' The value, this can be a string, number or boolean. At the [[Modules/cURL/CURLOPT|curl option list]] you can find wich option needs a string, number or boolean.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns a curlcode. Nevermind it for now, i even don't know what it is. But it returns it.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_POST, true);&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_cleanup&amp;diff=26357</id>
		<title>Modules/cURL/curl cleanup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_cleanup&amp;diff=26357"/>
		<updated>2011-07-16T15:39:33Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Cleans up the curl handle.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_cleanup(curl handler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Nothing usefull&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_perform(curl);&lt;br /&gt;
    curl_cleanup(curl);&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/bIRC&amp;diff=26356</id>
		<title>Modules/bIRC</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/bIRC&amp;diff=26356"/>
		<updated>2011-07-16T15:37:52Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#0099AA&amp;quot; subcaption=&amp;quot;Basic IRC Module&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:3px solid red;margin-bottom:3px;padding-left:10px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;padding-right:5px;font-weight:bold;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
''Note: Development for this module seems to have halted, use [[resource:irc]] for now.''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_birc |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:Awwu|Awwu]] &amp;lt;awwugta@gmail.com&amp;gt; |&lt;br /&gt;
  module_website = ''None'' |&lt;br /&gt;
  download_link  = ''Soon'' |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
  written_in     = Unknown |&lt;br /&gt;
  operating_system = Windows only |&lt;br /&gt;
  compatible_with = 1.0 |&lt;br /&gt;
}}&lt;br /&gt;
Basic IRC module (bIRC) provides a fully functional server IRC echo for MTA:SA. It is currently available only for Windows servers on MTA:SA 1.0 (other versions untested).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Uncompress the file ml_birc.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;module src=&amp;quot;ml_birc&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Provided scripting functionality==&lt;br /&gt;
{{ml_birc functions}}&lt;br /&gt;
{{ml_birc callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/bIRC&amp;diff=26355</id>
		<title>Modules/bIRC</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/bIRC&amp;diff=26355"/>
		<updated>2011-07-16T15:35:39Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#0099AA&amp;quot; subcaption=&amp;quot;Basic IRC Module&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:3px solid red;margin-bottom:3px;padding-left:10px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;padding-right:5px;font-weight:bold;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
''Note: Development for this module seems to have halted, use resource:irc for now.''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_birc |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:Awwu|Awwu]] &amp;lt;awwugta@gmail.com&amp;gt; |&lt;br /&gt;
  module_website = ''None'' |&lt;br /&gt;
  download_link  = ''Soon'' |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
  written_in     = Unknown |&lt;br /&gt;
  operating_system = Windows only |&lt;br /&gt;
  compatible_with = 1.0 |&lt;br /&gt;
}}&lt;br /&gt;
Basic IRC module (bIRC) provides a fully functional server IRC echo for MTA:SA. It is currently available only for Windows servers on MTA:SA 1.0 (other versions untested).&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
Uncompress the file ml_birc.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;module src=&amp;quot;ml_birc&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Provided scripting functionality==&lt;br /&gt;
{{ml_birc functions}}&lt;br /&gt;
{{ml_birc callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/SebasIRC&amp;diff=26354</id>
		<title>Modules/SebasIRC</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/SebasIRC&amp;diff=26354"/>
		<updated>2011-07-16T15:33:37Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ml_irc}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:3px solid red;margin-bottom:3px;padding-left:10px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;padding-right:5px;font-weight:bold;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
''Note: Development for this module has stopped, use [[resource:irc]] instead.''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_irc |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:Sebassje|x86]] &amp;lt;sebasdevelopment@gmx.com&amp;gt; |&lt;br /&gt;
  module_website = ''[http://code.google.com/p/multitheftauto-modules/ Here]'' |&lt;br /&gt;
  download_link  = ''[http://multitheftauto-modules.googlecode.com/svn/branches/ml_irc-rewrite/output/ml_irc.dll Here]'' |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
}}&lt;br /&gt;
This ml_irc is a module for your MTA:SA 1.x Windows server, that provides IRC echo.&lt;br /&gt;
* '''Note:''' The bot can't join multiple servers.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_irc.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Linux===&lt;br /&gt;
Place the file ml_irc.so into your ''server/mods/deathmatch/modules/'' directory.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_irc&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Functions===&lt;br /&gt;
{{Modules/SebasIRC/Functions}}&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
{{Modules/SebasIRC/Events}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=26353</id>
		<title>Modules/IRCEcho</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=26353"/>
		<updated>2011-07-16T15:33:09Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;border:3px solid red;margin-bottom:3px;padding-left:10px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;padding-right:5px;font-weight:bold;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
''Note: This module only works on DP2.3, use [[resource:irc]] for now''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = MTASA IRC Echo |&lt;br /&gt;
  version        = 2.1 |&lt;br /&gt;
  author         = [[User:VRocker|VRocker]] |&lt;br /&gt;
  module_website = ''Not available'' |&lt;br /&gt;
  download_link  = [http://liberty-unleashed.co.uk/MTA/IRC%20Echo%20Script%20v2.zip Here] |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Cross-platform |&lt;br /&gt;
  compatible_with = DP2.3 |&lt;br /&gt;
}}&lt;br /&gt;
MTASA IRC Echo is a module that provides an IRC echo for an MTASA server. It is available for both Windows and Linux.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_ircecho.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.dll&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Uncompress the file ml_ircecho.so into your ''%MTASERVER%\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.so&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{{Modules/IRCEcho/Functions}}&lt;br /&gt;
&lt;br /&gt;
==Callbacks==&lt;br /&gt;
{{Modules/IRCEcho/Callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=26349</id>
		<title>Modules/IRCEcho</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=26349"/>
		<updated>2011-07-16T15:31:42Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|Is this module still stable in 1.0/1.1? Seems to crash alot and unable to join channels.}}&lt;br /&gt;
{{Needs_Checking|Confirmed by x86, only works for DP2.3, use [[Resource:Irc]] for now}}&lt;br /&gt;
&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = MTASA IRC Echo |&lt;br /&gt;
  version        = 2.1 |&lt;br /&gt;
  author         = [[User:VRocker|VRocker]] |&lt;br /&gt;
  module_website = ''Not available'' |&lt;br /&gt;
  download_link  = [http://liberty-unleashed.co.uk/MTA/IRC%20Echo%20Script%20v2.zip Here] |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Cross-platform |&lt;br /&gt;
  compatible_with = DP2.3 |&lt;br /&gt;
}}&lt;br /&gt;
MTASA IRC Echo is a module that provides an IRC echo for an MTASA server. It is available for both Windows and Linux.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_ircecho.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.dll&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Uncompress the file ml_ircecho.so into your ''%MTASERVER%\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.so&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{{Modules/IRCEcho/Functions}}&lt;br /&gt;
&lt;br /&gt;
==Callbacks==&lt;br /&gt;
{{Modules/IRCEcho/Callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=26214</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=26214"/>
		<updated>2011-06-29T09:15:01Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* TODO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for their servers&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* &amp;lt;strike&amp;gt;graduate&amp;lt;/strike&amp;gt;&lt;br /&gt;
* learn C++&lt;br /&gt;
* actually contribute something to mta&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=25740</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=25740"/>
		<updated>2011-05-07T16:10:22Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for their servers&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* graduate&lt;br /&gt;
* learn C++&lt;br /&gt;
* actually contribute something to mta&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/SebasIRC&amp;diff=25694</id>
		<title>Modules/SebasIRC</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/SebasIRC&amp;diff=25694"/>
		<updated>2011-05-04T14:39:49Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ml_irc}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:3px solid red;margin-bottom:3px;padding-left:10px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float:right;padding-right:5px;font-weight:bold;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
''Note: Development for this module has stopped, use ml_sockets instead.''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = ml_irc |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:Sebassje|x86]] &amp;lt;sebasdevelopment@gmx.com&amp;gt; |&lt;br /&gt;
  module_website = ''[http://code.google.com/p/multitheftauto-modules/ Here]'' |&lt;br /&gt;
  download_link  = ''[http://multitheftauto-modules.googlecode.com/svn/branches/ml_irc-rewrite/output/ml_irc.dll Here]'' |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
}}&lt;br /&gt;
This ml_irc is a module for your MTA:SA 1.x Windows server, that provides IRC echo.&lt;br /&gt;
* '''Note:''' The bot can't join multiple servers.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_irc.dll into your ''server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Linux===&lt;br /&gt;
Place the file ml_irc.so into your ''server/mods/deathmatch/modules/'' directory.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===mtaserver.conf===&lt;br /&gt;
Add the following line in your mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_irc&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Functions===&lt;br /&gt;
{{Modules/SebasIRC/Functions}}&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
{{Modules/SebasIRC/Events}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=25693</id>
		<title>Modules/IRCEcho</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/IRCEcho&amp;diff=25693"/>
		<updated>2011-05-04T14:34:23Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|Is this module still stable in 1.0/1.1? Seems to crash alot and unable to join channels.}}&lt;br /&gt;
&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = MTASA IRC Echo |&lt;br /&gt;
  version        = 2.1 |&lt;br /&gt;
  author         = [[User:VRocker|VRocker]] |&lt;br /&gt;
  module_website = ''Not available'' |&lt;br /&gt;
  download_link  = [http://liberty-unleashed.co.uk/MTA/IRC%20Echo%20Script%20v2.zip Here] |&lt;br /&gt;
  license        = ''Unlicensed'' |&lt;br /&gt;
}}&lt;br /&gt;
MTASA IRC Echo is a module that provides an IRC echo for an MTASA server. It is available for both Windows and Linux.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Windows===&lt;br /&gt;
Uncompress the file ml_ircecho.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.dll&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
Uncompress the file ml_ircecho.so into your ''%MTASERVER%\mods\deathmatch\modules\'' directory.&lt;br /&gt;
&lt;br /&gt;
Then, add the following line in mtaserver.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;module src=&amp;quot;ml_ircecho.so&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{{Modules/IRCEcho/Functions}}&lt;br /&gt;
&lt;br /&gt;
==Callbacks==&lt;br /&gt;
{{Modules/IRCEcho/Callbacks}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=25428</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=25428"/>
		<updated>2011-02-26T15:40:48Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for their servers (or that's atleast my intention)&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's race server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* graduate&lt;br /&gt;
* get €70k&lt;br /&gt;
* learn C++&lt;br /&gt;
* actually contribute something to mta&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=25356</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=25356"/>
		<updated>2011-02-12T23:22:43Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for their servers (or that's atleast my intention)&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's race server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* &amp;lt;strike&amp;gt;fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&amp;lt;/strike&amp;gt;&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* graduate&lt;br /&gt;
* learn C++&lt;br /&gt;
* actually contribute something to mta&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:Optional_Arguments&amp;diff=24933</id>
		<title>Talk:Optional Arguments</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:Optional_Arguments&amp;diff=24933"/>
		<updated>2011-01-04T15:20:51Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: Created page with &amp;quot;&amp;quot;Optional Arguments have one limitation. You cannot use any optional arguments unless all previous arguments are also supplied.&amp;quot;  What if you replace one of the previous argument...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;Optional Arguments have one limitation. You cannot use any optional arguments unless all previous arguments are also supplied.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
What if you replace one of the previous arguments with 'nil'? Atleast that works with addBan().&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=24932</id>
		<title>NL/Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=NL/Resource:Irc&amp;diff=24932"/>
		<updated>2011-01-04T15:17:34Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: Created page with &amp;quot;{{Resource page}} __NOTOC__ De &amp;quot;irc&amp;quot; resource zorgt voor een echobot die berichten zoals chatberichten output op een irc channel. Informatie over &amp;quot;irc&amp;quot; of &amp;quot;Internet Relay Chat&amp;quot; k...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
De &amp;quot;irc&amp;quot; resource zorgt voor een echobot die berichten zoals chatberichten output op een irc channel.&lt;br /&gt;
Informatie over &amp;quot;irc&amp;quot; of &amp;quot;Internet Relay Chat&amp;quot; kan gevonden worden op [http://nl.wikipedia.org/wiki/Internet_Relay_Chat Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installatie==&lt;br /&gt;
Om deze resource aan de praat te krijgen op je Linux of Windows server, volg deze stappen:&lt;br /&gt;
&lt;br /&gt;
* '''Installeer de sockets module'''&lt;br /&gt;
** '''Download de module''': Je kan deze module vinden op het [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download het ml_sockets.dll bestand voor Windows en het ml_sockets.so bestand voor Linux&lt;br /&gt;
** '''Voeg de module toe in de MTA map''': Om deze module te laten moet deze in de volgende map geplaatst worden: mods/deathmatch/modules, als deze map niet bestaat, maak ze dan.&lt;br /&gt;
** '''Voeg de module toe aan het mtaserver.conf bestand''': Om de module te laden wanneer de server start, voeg dan dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; voor Windows en dit lijntje &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; voor Linux toe aan je mtaserver.conf.&lt;br /&gt;
* '''Installeer de IRC resource'''&lt;br /&gt;
** '''Download de resource''': De IRC resource kan gevond worden op de [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], plaats de resource in de resources map.&lt;br /&gt;
** '''Pas het settings.xml bestand aan''': Open dit bestand en volg de instructies in het bestand om de bot te configureren.&lt;br /&gt;
** '''Pas het meta.xml bestand aan''': In dit bestand staan een aantal settings met betrekken tot reclame en ingame gui's, '''blijf van de rest!''' Je kan deze settings ook veranderen in je admin paneel wanneer de resource geladen is.&lt;br /&gt;
** '''Acl rechten''' De resource heeft een aantal rechten nodig om goed te werken waaronder: addBan, kickPlayer &amp;amp; callRemote. Als de resource niet genoeg rechten heeft verschijnt er een bericht in de console en kan de resource niet starten.&lt;br /&gt;
&lt;br /&gt;
Nu kan je de resource starten, als de server aan het werken was tijdens deze bewerkingen doe dan eerst: /loadmodule ml_sockets.dll of /loadmodule ml_sockets.so en /refreshall voordat je /start irc doet.&lt;br /&gt;
&lt;br /&gt;
==Het acl.xml bestand==&lt;br /&gt;
Het acl.xml bestand in de irc resource zorgt voor de acl rechten van irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* De name is de command met uitroepteken&lt;br /&gt;
* De level is het minimum level dat de irc user moet hebben om de command te gebruiken.&lt;br /&gt;
* De echoChannelOnly bepaald ofdat je de command kan gebruiken buiten het echochannel&lt;br /&gt;
&lt;br /&gt;
==Elementen==&lt;br /&gt;
Alle gebruikers, kanalen &amp;amp; servers gekend door de irc resource worden voorgestand door elementen&lt;br /&gt;
* Servers zijn de volgende elementen: 'irc-server'&lt;br /&gt;
* Channels zijn de volgende elementen: 'irc-channel'&lt;br /&gt;
* Users zijn de volgende elementen: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level systeem==&lt;br /&gt;
De irc resource gebruikt geen irc modes systeem voor zijn acl, maar wel nummers.&lt;br /&gt;
* Owner (~) is nu level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is nu level 4&lt;br /&gt;
* Operator (@) is nu level 3&lt;br /&gt;
* Helper (%) is nu level 2&lt;br /&gt;
* Voice (+) is nu level 1&lt;br /&gt;
Alle andere gebruikers zijn nu level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
Gedurende het irc proces worden een aantal events getriggerd om het je gemakkelijk te maken om extensies te schrijven.&lt;br /&gt;
Je moet wel addEvent(&amp;quot;eventName&amp;quot;) doen om ze te kunnen gebruiken.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Naam'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' kan nil zijn als 'theUser' gequit heeft zonder reden.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' kan false zijn als 'theUser' gekickt was door een service zoals de nickserv.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als 'theUser' geopt was door een service zoals de chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' kan false zijn als de mode geset was door een service zoals chanserv&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Geëxporteerde functies==&lt;br /&gt;
Deze functies kunnen gebeld worden van andere resources om het schrijven van extensies mogelijk te maken&lt;br /&gt;
Gebruik de exports tabel of [[call]] om ze te gebruiken.&lt;br /&gt;
&lt;br /&gt;
Voorbeeld 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Voorbeeld 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''functie naam'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserBot'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserRealName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|''''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Alle parameters die tussen haakjes staan zijn optioneel, zie [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Aanpassen==&lt;br /&gt;
Gelieve de resource niet aan te passen, je kan ze breken. Schrijf extensies.&lt;br /&gt;
&lt;br /&gt;
==Contacteren==&lt;br /&gt;
De auteur (MCvarial) kan gecontacteerd worden op IRC (#mta,#mta.dutch)&lt;br /&gt;
Of via email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=24931</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=24931"/>
		<updated>2011-01-04T14:48:59Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: /* Modding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserBot'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserRealName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|''''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break it and cause it to malfunction or to spam errors.&lt;br /&gt;
If this happens you will not get any support.&lt;br /&gt;
Write extensions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=24930</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=24930"/>
		<updated>2011-01-04T14:47:44Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theReason' can be nil if 'theUser' has quit without a reason.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE:''' 'theKicker' can be false if 'theUser' was kicked by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if 'theUser' was opped by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' 'theSetter' can be false if the mode was set by a service like the NickServ.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserBot'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserRealName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|''''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break write extenstions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=24929</id>
		<title>Resource:Irc</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Irc&amp;diff=24929"/>
		<updated>2011-01-04T14:35:11Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: Created page with &amp;quot;{{Resource page}} __NOTOC__ The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel. Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
The &amp;quot;irc&amp;quot; resource provides an echobot that outputs information such as chatmessages on a irc channel.&lt;br /&gt;
Information about &amp;quot;irc&amp;quot; or &amp;quot;Internet Relay Chat&amp;quot; can be found on [http://en.wikipedia.org/wiki/Irc Wikipedia.]&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To get this resource working on your Linux or Windows server, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* '''Install the sockets module'''&lt;br /&gt;
** '''Download the module''': You can download the module on the [[http://code.google.com/p/multitheftauto-modules/downloads/list mta-modules project]]. Download the ml_sockets.dll file for Windows and the ml_sockets.so file for Linux&lt;br /&gt;
** '''Put the module in the MTA folder''': In order for MTA to load the module it must be placed in the mods/deathmatch/modules folder, if this folder does not exist yet, make it.&lt;br /&gt;
** '''Add the module to the mtaserver.conf file''': To load the module when the MTA server starts, put this line &amp;lt;module src=&amp;quot;ml_sockets.dll&amp;quot;/&amp;gt; in your config file for Windows and &amp;lt;module src=&amp;quot;ml_sockets.so&amp;quot;/&amp;gt; in the config file for Linux.&lt;br /&gt;
* '''Install the IRC resource'''&lt;br /&gt;
** '''Download the resource''': The IRC resource can be found on the [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 community], put it in the resources folder.&lt;br /&gt;
** '''Mod the settings.xml file''': Open this file and follow the instructions inside to configure the IRC bot.&lt;br /&gt;
** '''Mod the meta.xml file''': In this file a few settings can be found regarding ads and ingame gui's, '''do not mod anything else!''' You can also change these settings in the admin panel once the resource has been loaded.&lt;br /&gt;
** '''Acl rights''' The resource needs a couple of acl rights in order to work properly, including addBan, kickPlayer &amp;amp; callRemote. Any missing rights will prevent the resource from loading and will output a message in the console.&lt;br /&gt;
&lt;br /&gt;
Now you can run the resource, if the server was running during this installation proces you will have to do /loadmodule ml_sockets.dll or /loadmodule ml_sockets.so and /refreshall before doing /start irc&lt;br /&gt;
&lt;br /&gt;
==The acl.xml file==&lt;br /&gt;
The acl.xml file inside the irc resource takes care of the acl rights for irc commands.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;command name=&amp;quot;!kick&amp;quot; level=&amp;quot;2&amp;quot; echoChannelOnly=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The name is the command including the exclamation mark&lt;br /&gt;
* The level is the minimum level the irc user needs to have in order to use this command&lt;br /&gt;
* The echoChannelOnly is wether the command can be used outside the echo channel&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
All users, channels &amp;amp; servers known by the irc resource are represented by elements.&lt;br /&gt;
* Servers are the following elements type: 'irc-server'&lt;br /&gt;
* Channels are the following elements type: 'irc-channel'&lt;br /&gt;
* Users are the following elements type: 'irc-user'&lt;br /&gt;
&lt;br /&gt;
==Level system==&lt;br /&gt;
The irc resource doesn't use the irc modes system for its acl, instead the modes were replaced with numbers.&lt;br /&gt;
* Owner (~) is now level 5&lt;br /&gt;
* Super Operator (&amp;amp;) is now level 4&lt;br /&gt;
* Operator (@) is now level 3&lt;br /&gt;
* Helper (%) is now level 2&lt;br /&gt;
* Voice (+) is now level 1&lt;br /&gt;
All other users without a special mode are level 0&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
During the irc proces some events are triggered to help you write extensions for the irc resource.&lt;br /&gt;
You may want to use addEvent(&amp;quot;eventName&amp;quot;) to use them.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Name'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''Source'''&lt;br /&gt;
|'''Parameters'''	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnecting'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCFailConnect'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|server theIRCServer	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string reason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserJoin'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string vhost&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserNickChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string oldNick, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserPart'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserKick'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theReason, user theKicker&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCMessage'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCPrivateNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCNotice'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCChannelMode'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|channel theIRCChannel	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean positive, string theMode, user theSetter&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCLevelChange'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, number oldlevel, number newlevel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|'''onIRCUserQuit'''&lt;br /&gt;
|width=&amp;quot;200pt&amp;quot;|user theIRCUser	&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exported functions==&lt;br /&gt;
These functions can be called from another resource to help you write extensions for the irc resource.&lt;br /&gt;
Use the exports table or [[call]] to use them&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	exports.irc:ircConnect(&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
	call(getResourceFromName(&amp;quot;irc&amp;quot;),&amp;quot;ircConnect&amp;quot;,&amp;quot;irc.gtanet.com&amp;quot;,&amp;quot;bot&amp;quot;,6667)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;returns&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width=&amp;quot;150pt&amp;quot;|'''function name'''&lt;br /&gt;
|'''Parameters'''&lt;br /&gt;
|-	&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircHop'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSay'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircRaw'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theRaw&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircPart'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, (string theReason)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircJoin'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theChannelName, (string theChannelPassword)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircAction'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theIRCUser, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircNotice'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel/user theUserChannel, string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''outputIRC'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theMessage&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircConnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string serverHost/IP, string nickname, (number serverPort), (string serverPassword), (boolean secure)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|} '''NOTE:''' Secure connections are not available yet due to the module not suporting SSL yet.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIdentify'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string thePassword&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircReconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircDisconnect'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string theReason&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircChangeNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer, string newNick&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerHost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPort'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerPass'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsServerSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetServerChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;server theIRCServer&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelTopic'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetChannelFromName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theChannelName&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsEchoChannel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircSetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, string theMode&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserBot'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserMode'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUsers'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;(server theIRCServer)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserServer'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser, channel theIRCChannel&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserVhost'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsUserSecure'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;userdata&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserFromNick'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theNickname&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserRealName'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetUserChannels'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;user theIRCUser&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|''''addIRCCommandHandler'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommandName, function theFunctionToCall, (number minimumLevel), (boolean echoChannelOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;table&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommands'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;number&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircGetCommandLevel'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;100pt&amp;quot;|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|width='200pt'|'''ircIsCommandEchoChannelOnly'''&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string theCommand&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' All parameters that are between brackets are optional, see [[optional arguments]]&lt;br /&gt;
&lt;br /&gt;
==Modding==&lt;br /&gt;
Please don't mod the resource, you might break write extenstions instead.&lt;br /&gt;
&lt;br /&gt;
==Contact==&lt;br /&gt;
The author (MCvarial) can be contacted using IRC (#mta,#mta.dutch)&lt;br /&gt;
Or by email (MCvarial@gmail.com)&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=24519</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=24519"/>
		<updated>2010-11-11T10:43:59Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar,&lt;br /&gt;
&lt;br /&gt;
* I play mta as [SKC]MCvarial&lt;br /&gt;
* I am [http://www.teamskc.co.uk SKC] clan member&lt;br /&gt;
* I script for their servers (or that's atleast my intention)&lt;br /&gt;
* I script for [http://mtasa.littlewhitey.com littlewhitey's race server]&lt;br /&gt;
* I annoy people on #mta&lt;br /&gt;
* I help people on #mta.scripting if no one else is available&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* graduate&lt;br /&gt;
* learn C++&lt;br /&gt;
* actually contribute something to mta&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=24518</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=24518"/>
		<updated>2010-11-11T10:40:11Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi thar I'm no one!&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
* fix [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=731 irc resource]&lt;br /&gt;
* finish smileys resource&lt;br /&gt;
* finish web resource&lt;br /&gt;
* graduate&lt;br /&gt;
* learn C++&lt;br /&gt;
* actually contribute something to mta&lt;br /&gt;
* complete the sockets module&lt;br /&gt;
** fix ssl&lt;br /&gt;
** add listening sockets&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=24517</id>
		<title>User:Mack Varial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mack_Varial&amp;diff=24517"/>
		<updated>2010-11-10T19:55:33Z</updated>

		<summary type="html">&lt;p&gt;Mack Varial: Created page with &amp;quot;Trololo&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Trololo&lt;/div&gt;</summary>
		<author><name>Mack Varial</name></author>
	</entry>
</feed>