- For private commands: most private commands are reserved to
Stats Admins only. You need to be an identified IRC Operator
and LOGIN to StatServ to use those commands.<br />
-<br /><br />
-Public commands<br />
----------------<br />
- !top10 : The top 10 users of the current channel<br />
- !top : The top 3 users of the current channel<br />
- !gtop10 : The top 10 users of the whole network<br />
- !gtop : The top 3 users of the whole network<br />
- !stats : User stats for the channel<br />
- !gstats : User stats for the network<br />
- !peak : User peak for the current channel<br />
-<br />
+<br />Public commands<pre>
+ !top10 : The top 10 users of the current channel
+ !top : The top 3 users of the current channel
+ !gtop10 : The top 10 users of the whole networ
+ !gtop : The top 3 users of the whole network
+ !stats : User stats for the channel
+ !gstats : User stats for the network
+ !peak : User peak for the current channel
+</pre>
<br />
Private commands<br />
----------------<br />
</pre>
C) Pass "createEventHook" the name of the event. In this case we are
going to hook to the saving of databases, "EVENT_DB_SAVING".<br />
-<br />
+<pre>
hook = createEventHook(EVENT_DB_SAVING, my_save);<br />
-<br />
+</pre>
D) The Handler is not ready for use yet; now you must add it to the hash
with "moduleAddEventHook". You will want to pass to this function the
return of "createEventHook"<br />
-<br />
+<pre>
status = moduleAddEventHook(hook);<br />
-<br />
+</pre>
It will return the same module error codes as adding a regular message,
which you can use to confirm it was added correctly.<br />
<br />
<a href="donation.html" target="mainFrame">Donations</a>
<a href="faq.html" target="mainFrame">FAQ</a>
<a href="install.html" target="mainFrame">Install</a>
- <a href="install.html" target="mainFrame">Modules</a>
+ <a href="modules.html" target="mainFrame">Modules</a>
<a href="mysql.html" target="mainFrame">MySQL</a>
<a href="osbuild.html" target="mainFrame">OS Built On</a>
<a href="windows.html" target="mainFrame">Windows</a>
<br />
Denora credits:<br />
<br />
- * Trystan S. Lee <trystan@denorastats.org><br />
- * Gabriel Acevedo H. <drstein@denorastats.org><br />
- * Jens Voss <DukePyrolator@FantasyIRC.net><br />
- * Florian Schulze <certus@randombytes.de><br />
- * Gabriel Craciunescu <crazy@denorastats.org><br />
- * Sebastian V. <hal9000@denorastats.org><br />
- * w00t <w00t@denorastats.org><br />
- * Klaas Tammling <obi_wan@denorastats.org><br />
- * Alexander Maassen <outsider@scarynet.org><br />
- * Matthew Beeching <jobe@denorastats.org><br />
+ * Trystan S. Lee <trystan@denorastats.org><br />
+ * Gabriel Acevedo H. <drstein@denorastats.org><br />
+ * Jens Voss <DukePyrolator@FantasyIRC.net><br />
+ * Florian Schulze <certus@randombytes.de><br />
+ * Gabriel Craciunescu <crazy@denorastats.org><br />
+ * Sebastian V. <hal9000@denorastats.org><br />
+ * w00t <w00t@denorastats.org><br />
+ * Klaas Tammling <obi_wan@denorastats.org><br />
+ * Alexander Maassen <outsider@scarynet.org><br />
+ * Matthew Beeching <jobe@denorastats.org><br />
<br />
Denora Translations:<br />
<br />
- * Gabriel Acevedo H. <drstein@denorastats.org> (es.l)<br />
- * Gabriel Craciunescu <crazy@denorastats.org> (de.l)<br />
- * Xaf <root@sbird.org> (fr.l)<br />
- * Pieter Bootms <geniusdex@anope.org> (nl.l)<br />
- * dotslasher <dotslasher@staticbox.com> (nl.l)<br />
- * Sebastian V. <hal9000@denorastats.org> (it.l, example.it.conf)<br />
- * Daniel Arndt <MaOaM@gmx.org> (example.de.conf)<br />
- * Alvaro <agonzal@gmail.com> (es.l, example.es.conf)<br />
- * illu <illu@icedslash.org> (fr.l)<br />
- * Kein <kein-of@yandex.ru> (ru.l, example.ru.conf)<br />
+ * Gabriel Acevedo H. <drstein@denorastats.org> (es.l)<br />
+ * Gabriel Craciunescu <crazy@denorastats.org> (de.l)<br />
+ * Xaf <root@sbird.org> (fr.l)<br />
+ * Pieter Bootms <geniusdex@anope.org> (nl.l)<br />
+ * dotslasher <dotslasher@staticbox.com> (nl.l)<br />
+ * Sebastian V. <hal9000@denorastats.org> (it.l, example.it.conf)<br />
+ * Daniel Arndt <MaOaM@gmx.org> (example.de.conf)<br />
+ * Alvaro <agonzal@gmail.com> (es.l, example.es.conf)<br />
+ * illu <illu@icedslash.org> (fr.l)<br />
+ * Kein <kein-of@yandex.ru> (ru.l, example.ru.conf)<br />
<br />
This program is free but copyrighted software; see the file docs/COPYING
for details.<br />
first parameter must be the variable from the config file that will be looked for. Next is the
data type (see above), Next is if the variable is reloadable, should Denora rehash should this
change. Next is the global variable into which the option will be copied to.<br />
-<br />
+<pre>
for (i = 0; i < 1; i++) {<br />
moduleGetConfigDirective("test.conf", confvalues[i]);<br />
}<br />
-<br />
+</pre>
Now you can have the core load you config file and look for the settings within.<br />
<br />
**NOTE** Unlike anope this function, has two arguments so you must list what file to parse<br />