pisg-doc.sgml 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062
  1. <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
  2. <book id="pisg-documentation">
  3. <bookinfo>
  4. <date>2002-01-23</date>
  5. <title>pisg documentation</title>
  6. <subtitle>How to install and configure pisg</subtitle>
  7. </bookinfo>
  8. <toc></toc>
  9. <!-- <lot></lot> -->
  10. <chapter id="what-is-pisg">
  11. <title>What is pisg?</title>
  12. <para>
  13. pisg is an IRC statistics generator. It takes IRC logfiles and turns
  14. them into nice looking stats.
  15. </para>
  16. <para>
  17. In general, you would do something like this to get it running:
  18. <itemizedlist mark="bullet">
  19. <listitem>
  20. <para>
  21. Enable logging in an IRC bot, or in your IRC client. The log will be
  22. outputted into a file.
  23. </para>
  24. </listitem>
  25. <listitem>
  26. <para>
  27. You set up pisg, you define the channel name, and the path to the
  28. logfile you created.
  29. </para>
  30. </listitem>
  31. <listitem>
  32. <para>
  33. You run pisg, pisg runs the log through and create statistics, it
  34. then creates a HTML page which you can upload to a server.
  35. </para>
  36. </listitem>
  37. </itemizedlist>
  38. </para>
  39. <sect1 id="requirements">
  40. <title>What are the requirements to run pisg?</title>
  41. <para>
  42. <itemizedlist mark="bullet">
  43. <listitem>
  44. <para>
  45. An IRC client or bot where pisg supports the output logfile.
  46. </para>
  47. </listitem>
  48. <listitem>
  49. <para>
  50. Any operating system which Perl runs at, this includes popular OS'es
  51. such as Linux, FreeBSD, Windows and Mac. You will have a hard time
  52. finding an OS where Perl isn't supported.
  53. </para>
  54. </listitem>
  55. <listitem>
  56. <para>
  57. <emphasis>Optional</emphasis> - a system to host the statistics page
  58. 24 hours a day, 7 days a week.
  59. </para>
  60. </listitem>
  61. <listitem>
  62. <para>
  63. <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
  64. a day, 7 days a week.
  65. </para>
  66. </listitem>
  67. </itemizedlist>
  68. </chapter>
  69. <chapter id="setting-up-pisg">
  70. <title>Setting up pisg for the first time</title>
  71. <para>
  72. Most configuration happens through the <filename>pisg.cfg</filename>
  73. file, the file format is made to be easy to read, and easy to extend for
  74. further use. It uses an XML-like format, with elements and attributes.
  75. </para>
  76. <sect1 id="setting-up-a-channel">
  77. <title>Setting up a channel</title>
  78. <para>
  79. An element called <command>channel</command> is made for defining
  80. channels, a quick example of a channel is this:
  81. <programlisting>
  82. <![CDATA[
  83. <channel="#channel">
  84. Logfile = "channel.log"
  85. Format = "mIRC"
  86. Maintainer = "John"
  87. </channel>
  88. ]]>
  89. </programlisting>
  90. The above will define a channel called <command>#channel</command>, the
  91. logfile pisg will look for is called <command>channel.log</command> and
  92. the format of the logfile will be <command>mIRC</command>. The
  93. maintainer (which will be stated on the output page) is
  94. <command>John</command>.
  95. </para>
  96. <para>
  97. That is basically it! Now, there is a lot more options you can use for
  98. your channels, for this please refer to the reference documentation.
  99. </para>
  100. </sect1>
  101. <sect1 id="user-options">
  102. <title>Specifying user options</title>
  103. <para>
  104. User options are set with a simple XML-like syntax in the form:
  105. <programlisting>
  106. <![CDATA[<user nick="NICK" option="VALUE">]]>
  107. </programlisting>
  108. Remember, the nick is always required.
  109. For example to add aliases to a nick, then you could do this:
  110. <programlisting>
  111. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  112. </programlisting>
  113. The asterix (*) means that it will match all nicks starting with 'Joe^'. So
  114. it will add all Joe^'s to 'Joe' in the stats.
  115. Another thing you can do is to add a picture to a user:
  116. <programlisting>
  117. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  118. </programlisting>
  119. If you have a larger picture of the user as well, you can make the picture
  120. on the stats page link to it:
  121. <programlisting>
  122. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  123. </programlisting>
  124. You can also set a user's sex:
  125. <programlisting>
  126. <![CDATA[<user nick="Ben" sex="m">]]>
  127. </programlisting>
  128. Also you can add links to URLs and e-mails:
  129. <programlisting>
  130. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  131. </programlisting>
  132. or
  133. <programlisting>
  134. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  135. </programlisting>
  136. The last thing you can do is to ignore nicks (for example bots):
  137. <programlisting>
  138. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  139. </programlisting>
  140. You don't have to do all this in many lines, you could just as easily do:
  141. <programlisting>
  142. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  143. </programlisting>
  144. (Here the aliases is a space separated list of nicks, that also works! But *
  145. as a wildcard is smarter, but also slower).
  146. </para>
  147. </sect1>
  148. <sect1 id="global-options">
  149. <title>Setting global options</title>
  150. <para>
  151. Many times, it will be useful to set up global options, global options
  152. are set like this:
  153. <programlisting>
  154. <![CDATA[<set option="VALUE">]]>
  155. </programlisting>
  156. Any global option will override anything defined with in channel
  157. elements (see <xref linkend="setting-up-a-channel">)
  158. </para>
  159. <para>
  160. For example, to change the background color of the stats page, you
  161. could do:
  162. <programlisting>
  163. <![CDATA[<set bgcolor="black">]]>
  164. </programlisting>
  165. You can set many options in a single <command>set</command>:
  166. <programlisting>
  167. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  168. </programlisting>
  169. The above will set the language on the statistics page to DE (Deutch,
  170. German) and set the timeoffset to +1.
  171. All options available are mentioned in the reference documentation.
  172. </sect1>
  173. <sect1 id="ignoring-links">
  174. <title>Ignoring links</title>
  175. <para>
  176. It's possible to ignore links in the "Most referenced URLs" section:
  177. <programlisting>
  178. <![CDATA[
  179. <link url="http://www.slashdot.org" ignore="y">
  180. ]]>
  181. </programlisting>
  182. </para>
  183. </sect1>
  184. </chapter>
  185. <chapter id="reference">
  186. <title>Reference for configuration options</title>
  187. <!-- *** CHANNEL *** -->
  188. <refentry id="Channel">
  189. <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
  190. <refnamediv>
  191. <refname>Channel</refname>
  192. <refpurpose>define channel name</refpurpose>
  193. </refnamediv>
  194. <refsynopsisdiv><programlisting>
  195. <![CDATA[
  196. <channel="#channel">
  197. Logfile = "channel.log"
  198. Format = "mIRC"
  199. Faintainer = "John"
  200. </channel>
  201. <set channel="#channelname">
  202. ]]>
  203. </programlisting></refsynopsisdiv>
  204. <refsect1>
  205. <title>Description</title>
  206. <para>
  207. <command>Channel</command> is used in two contexts, globally when using
  208. &lt;set&gt; and when defining new channels. It sets the name of the
  209. channel.
  210. </para>
  211. </refsect1>
  212. <refsect1>
  213. <title>Default</title>
  214. <para> Unset </para>
  215. </refsect1>
  216. </refentry>
  217. <!-- *** LOGSUFFIX *** -->
  218. <refentry id="LogSuffix">
  219. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  220. <refnamediv>
  221. <refname>LogSuffix</refname>
  222. <refpurpose>Regex to sort logfiles by format month|day|year</refpurpose>
  223. </refnamediv>
  224. <refsynopsisdiv><programlisting>
  225. <![CDATA[
  226. <set LogSuffix="\.\d\d([A-Za-z]+)\d\d\d\d||\.(\d\d)[A-Za-z]+\d\d\d\d||\.\d\d[A-Za-z]+(\d\d\d\d)">
  227. ]]>
  228. </programlisting></refsynopsisdiv>
  229. <refsect1>
  230. <title>Description</title>
  231. <para>
  232. <command>LogSuffix</command> is used to define the suffix of a logfile,
  233. it only works when <command>LogDir</command> is defined. The example in
  234. the synopsis is for the eggdrop bots default foramt.
  235. </para>
  236. </refsect1>
  237. <refsect1>
  238. <title>Default</title>
  239. <para> Unset </para>
  240. </refsect1>
  241. </refentry>
  242. <!-- *** FORMAT *** -->
  243. <refentry id="Format">
  244. <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
  245. <refnamediv>
  246. <refname>Format</refname>
  247. <refpurpose>the logfile format</refpurpose>
  248. </refnamediv>
  249. <refsynopsisdiv><programlisting>
  250. <![CDATA[
  251. <channel="#channel">
  252. Logfile = "channel.log"
  253. Format = "eggdrop"
  254. Maintainer = "John"
  255. </channel>
  256. <set Format="mIRC">
  257. ]]>
  258. </programlisting></refsynopsisdiv>
  259. <refsect1>
  260. <title>Description</title>
  261. <para>
  262. <command>Format</command> is used to define the format of the logfile,
  263. pisg supports a various number of different logfiles, see the FORMATS
  264. file included with the pisg distribution.
  265. </para>
  266. </refsect1>
  267. <refsect1>
  268. <title>Default</title>
  269. <para> mIRC </para>
  270. </refsect1>
  271. </refentry>
  272. <!-- *** NETWORK *** -->
  273. <refentry id="Network">
  274. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  275. <refnamediv>
  276. <refname>Network</refname>
  277. <refpurpose>the IRC network of the channel</refpurpose>
  278. </refnamediv>
  279. <refsynopsisdiv><programlisting>
  280. <![CDATA[
  281. <channel="#channel">
  282. Logfile = "channel.log"
  283. Format = "eggdrop"
  284. Network = "Undernet"
  285. </channel>
  286. <set Network="Quakenet">
  287. ]]>
  288. </programlisting></refsynopsisdiv>
  289. <refsect1>
  290. <title>Description</title>
  291. <para>
  292. <command>Network</command> is used to set the network which the channel
  293. resides on, this name is displayed on the stats page.
  294. </para>
  295. </refsect1>
  296. <refsect1>
  297. <title>Default</title>
  298. <para> SomeIRCNetwork </para>
  299. </refsect1>
  300. </refentry>
  301. <!-- *** OUTPUTFILE *** -->
  302. <refentry id="OutputFile">
  303. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  304. <refnamediv>
  305. <refname>OutputFile</refname>
  306. <refpurpose>name of the generated HTML page</refpurpose>
  307. </refnamediv>
  308. <refsynopsisdiv><programlisting>
  309. <![CDATA[
  310. <channel="#channel">
  311. Logfile = "channel.log"
  312. Format = "eggdrop"
  313. OutputFile = "mychan.html"
  314. </channel>
  315. <set OutputFile="mychan.html">
  316. ]]>
  317. </programlisting></refsynopsisdiv>
  318. <refsect1>
  319. <title>Description</title>
  320. <para>
  321. <command>OutputFile</command> is used to define the name of the
  322. generated statistics page.
  323. </para>
  324. </refsect1>
  325. <refsect1>
  326. <title>Default</title>
  327. <para> index.html </para>
  328. </refsect1>
  329. </refentry>
  330. <!-- *** MAINTAINER *** -->
  331. <refentry id="Maintainer">
  332. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  333. <refnamediv>
  334. <refname>Maintainer</refname>
  335. <refpurpose>name of the maintainer</refpurpose>
  336. </refnamediv>
  337. <refsynopsisdiv><programlisting>
  338. <![CDATA[
  339. <channel="#channel">
  340. Logfile = "channel.log"
  341. Format = "mIRC"
  342. Maintainer = "Benny"
  343. </channel>
  344. <set Maintainer="Benny">
  345. ]]>
  346. </programlisting></refsynopsisdiv>
  347. <refsect1>
  348. <title>Description</title>
  349. <para>
  350. <command>Maintainer</command> is used to define the name of the
  351. maintaner of the statistics page, this can be either the person
  352. generating the stats or the bot/client doing the logging.
  353. The maintainer is displayed in the outputted stats page.
  354. </para>
  355. </refsect1>
  356. <refsect1>
  357. <title>Default</title>
  358. <para> MAINTAINER </para>
  359. </refsect1>
  360. </refentry>
  361. <!-- *** LANG *** -->
  362. <refentry id="Lang">
  363. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  364. <refnamediv>
  365. <refname>Lang</refname>
  366. <refpurpose>define the language / translation to use</refpurpose>
  367. </refnamediv>
  368. <refsynopsisdiv><programlisting>
  369. <![CDATA[
  370. <channel="#channel">
  371. Logfile = "channel.log"
  372. Format = "mIRC"
  373. Lang = "DE"
  374. </channel>
  375. <set Lang="FR">
  376. ]]>
  377. </programlisting></refsynopsisdiv>
  378. <refsect1>
  379. <title>Description</title>
  380. <para>
  381. <command>Lang</command> is used to define the language translation to
  382. use, if the language support is there, the text on the stats page will
  383. be outputted in that language. All supported languages is mentioned in
  384. the lang.txt file with the pisg distribution. Some of the languages
  385. supported is: EN | DE | DK | FR | ES | PL | PT | NO | NL | SE | EE | IT
  386. | HU | SI | FI
  387. </para>
  388. </refsect1>
  389. <refsect1>
  390. <title>Default</title>
  391. <para> EN (English) </para>
  392. </refsect1>
  393. </refentry>
  394. <!-- *** PAGEHEAD *** -->
  395. <refentry id="pagehead">
  396. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  397. <refnamediv>
  398. <refname>PageHead</refname>
  399. <refpurpose>define a file as page header</refpurpose>
  400. </refnamediv>
  401. <refsynopsisdiv><programlisting>
  402. <![CDATA[
  403. <channel="#channel">
  404. Logfile = "chaNnel.log"
  405. Format = "mIRC"
  406. OutputFile = "stats.html"
  407. PageHead = "myheader.txt"
  408. </channel>
  409. <set PageHead="someheader.txt">
  410. ]]>
  411. </programlisting></refsynopsisdiv>
  412. <refsect1>
  413. <title>Description</title>
  414. <para>
  415. <command>PageHead</command> is used to include a file in the stats page,
  416. for example an introduction text, a link to an image or a banner. The
  417. file can hold anything, it will be included raw in the stats page -
  418. so HTML should be preferred. The file will be included in the top of
  419. the page. This option is the opposite of <command>PageFoot</command>.
  420. </para>
  421. </refsect1>
  422. <refsect1>
  423. <title>Default</title>
  424. <para> none </para>
  425. </refsect1>
  426. </refentry>
  427. <!-- *** PAGEFOOT *** -->
  428. <refentry id="PageFoot">
  429. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  430. <refnamediv>
  431. <refname>PageFoot</refname>
  432. <refpurpose>define a file as page footer</refpurpose>
  433. </refnamediv>
  434. <refsynopsisdiv><programlisting>
  435. <![CDATA[
  436. <channel="#channel">
  437. Logfile = "channel.log"
  438. Format = "mIRC"
  439. outputfile = "stats.html"
  440. PageFoot = "myfooter.txt"
  441. </channel>
  442. <set PageFoot="somefooter.txt">
  443. ]]>
  444. </programlisting></refsynopsisdiv>
  445. <refsect1>
  446. <title>Description</title>
  447. <para>
  448. <command>PageFoot</command> is used to include a file in the stats page,
  449. for example an introduction text, a link to an image or a banner. The
  450. file can hold anything, it will be included raw in the stats page -
  451. so HTML should be preferred. The file will be included in the bottom of
  452. the page. This option is the opposite of <command>PageHead</command>.
  453. </para>
  454. </refsect1>
  455. <refsect1>
  456. <title>Default</title>
  457. <para> none </para>
  458. </refsect1>
  459. </refentry>
  460. <!-- *** IMAGEPATH *** -->
  461. <refentry id="ImagePath">
  462. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  463. <refnamediv>
  464. <refname>ImagePath</refname>
  465. <refpurpose>path to user pictures</refpurpose>
  466. </refnamediv>
  467. <refsynopsisdiv><programlisting>
  468. <![CDATA[
  469. <channel="#channel">
  470. Logfile = "channel.log"
  471. Format = "mIRC"
  472. ImagePath = "userpics/"
  473. </channel>
  474. <set ImagePath="alt_users/">
  475. ]]>
  476. </programlisting></refsynopsisdiv>
  477. <refsect1>
  478. <title>Description</title>
  479. <para>
  480. <command>ImagePath</command> defines an alternative path to where user
  481. pictures is located. The default is that user pictures is located in the
  482. same directory as the HTML page.
  483. </para>
  484. </refsect1>
  485. <refsect1>
  486. <title>Default</title>
  487. <para> current directory </para>
  488. </refsect1>
  489. </refentry>
  490. <!-- *** DEFAULTPIC *** -->
  491. <refentry id="DefaultPic">
  492. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  493. <refnamediv>
  494. <refname>DefaultPic</refname>
  495. <refpurpose>use a default user picture</refpurpose>
  496. </refnamediv>
  497. <refsynopsisdiv><programlisting>
  498. <![CDATA[
  499. <channel="#channel">
  500. Logfile = "channel.log"
  501. Format = "mIRC"
  502. DefaultPic = "not_available.jpg"
  503. </channel>
  504. <set DefaultPic="unknown.gif">
  505. ]]>
  506. </programlisting></refsynopsisdiv>
  507. <refsect1>
  508. <title>Description</title>
  509. <para>
  510. <command>DefaultPic</command> defines a picture to be displayed for all
  511. users which have no other picture defined in the <command>user</command>
  512. element. This is good for showing "No picture available" or something.
  513. </para>
  514. </refsect1>
  515. <refsect1>
  516. <title>Default</title>
  517. <para> unset </para>
  518. </refsect1>
  519. </refentry>
  520. <!-- *** LOGDIR *** -->
  521. <refentry id="LogDir">
  522. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  523. <refnamediv>
  524. <refname>LogDir</refname>
  525. <refpurpose>parse a directory full of logs</refpurpose>
  526. </refnamediv>
  527. <refsynopsisdiv><programlisting>
  528. <![CDATA[
  529. <channel="#channel">
  530. LogDir="/home/foo/eggdrop/logs/"
  531. Format = "eggdrop"
  532. </channel>
  533. <set LogDir="dailylogs/">
  534. ]]>
  535. </programlisting></refsynopsisdiv>
  536. <refsect1>
  537. <title>Description</title>
  538. <para>
  539. When <command>LogDir</command> is defined to valid path to a directory,
  540. then pisg will run through that directory, parse all logfiles in it and
  541. create 1 HTML from it. Useful with for example eggdrop logs.
  542. </para>
  543. </refsect1>
  544. <refsect1>
  545. <title>Default</title>
  546. <para> unset </para>
  547. </refsect1>
  548. </refentry>
  549. <!-- *** LogPrefix *** -->
  550. <refentry id="LogPrefix">
  551. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  552. <refnamediv>
  553. <refname>LogPrefix</refname>
  554. <refpurpose>only parse logs LogPrefixed with a userdefined string</refpurpose>
  555. </refnamediv>
  556. <refsynopsisdiv><programlisting>
  557. <![CDATA[
  558. <channel="#channel">
  559. LogDir="/home/foo/eggdrop/logs/"
  560. Format = "eggdrop"
  561. LogPrefix = "logjun"
  562. </channel>
  563. <set LogPrefix="logjanuary">
  564. ]]>
  565. </programlisting></refsynopsisdiv>
  566. <refsect1>
  567. <title>Description</title>
  568. <para>
  569. When using the <command>LogDir</command> option and you only want to use
  570. a slew of the files in it, you can have pisg choose only files which are
  571. prefixed with a special string.
  572. </para>
  573. </refsect1>
  574. <refsect1>
  575. <title>Default</title>
  576. <para> unset </para>
  577. </refsect1>
  578. </refentry>
  579. <!-- *** TIMEOFFSET *** -->
  580. <refentry id="TimeOffset">
  581. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  582. <refnamediv>
  583. <refname>TimeOffset</refname>
  584. <refpurpose>use a different time zone than the local machine</refpurpose>
  585. </refnamediv>
  586. <refsynopsisdiv><programlisting>
  587. <![CDATA[
  588. <channel="#channel">
  589. Logfile = "channel.log"
  590. Format = "mIRC"
  591. Maintainer = "John"
  592. TimeOffset = "+5"
  593. </channel>
  594. <set TimeOffset="+2">
  595. ]]>
  596. </programlisting></refsynopsisdiv>
  597. <refsect1>
  598. <title>Description</title>
  599. <para>
  600. By default, pisg uses the time of the local machine to display the time
  601. of the generated stats. Sometimes when you have a shell on an external
  602. box, and it's in another country, you want to use another time. This is
  603. accomplished by the <command>TimeOffset</command> command.
  604. </para>
  605. </refsect1>
  606. <refsect1>
  607. <title>Default</title>
  608. <para> +0 </para>
  609. </refsect1>
  610. </refentry>
  611. <!-- *** SHOWACTIVETIMES *** -->
  612. <refentry id="ShowActiveTimes">
  613. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  614. <refnamediv>
  615. <refname>ShowActiveTimes</refname>
  616. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  617. </refnamediv>
  618. <refsynopsisdiv><programlisting>
  619. <![CDATA[
  620. <channel="#channel">
  621. Logfile = "channel.log"
  622. Format = "xchat"
  623. ShowActiveTimes = "0"
  624. </channel>
  625. <set ShowActiveTimes="1">
  626. ]]>
  627. </programlisting></refsynopsisdiv>
  628. <refsect1>
  629. <title>Description</title>
  630. <para>
  631. With this option you can disable the "Most Active Times" section on the
  632. stats page. It will simply disappear when specifying 0.
  633. </para>
  634. </refsect1>
  635. <refsect1>
  636. <title>Default</title>
  637. <para> 1 (enabled) </para>
  638. </refsect1>
  639. </refentry>
  640. <!-- *** SHOWBIGNUMBERS *** -->
  641. <refentry id="ShowBigNumbers">
  642. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  643. <refnamediv>
  644. <refname>ShowBigNumbers</refname>
  645. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  646. </refnamediv>
  647. <refsynopsisdiv><programlisting>
  648. <![CDATA[
  649. <channel="#channel">
  650. Logfile = "channel.log"
  651. Format = "xchat"
  652. ShowBigNumbers = "0"
  653. </channel>
  654. <set ShowBigNumbers="1">
  655. ]]>
  656. </programlisting></refsynopsisdiv>
  657. <refsect1>
  658. <title>Description</title>
  659. <para>
  660. With this option you can disable the "Big Numbers" and "Other
  661. Interesting numbers" sections on the stats page. They will simply
  662. disappear when specifying 0.
  663. </para>
  664. </refsect1>
  665. <refsect1>
  666. <title>Default</title>
  667. <para> 1 (enabled) </para>
  668. </refsect1>
  669. </refentry>
  670. <!-- *** SHOWTOPICS *** -->
  671. <refentry id="ShowTopics">
  672. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  673. <refnamediv>
  674. <refname>ShowTopics</refname>
  675. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  676. </refnamediv>
  677. <refsynopsisdiv><programlisting>
  678. <![CDATA[
  679. <channel="#channel">
  680. Logfile = "channel.log"
  681. Format = "xchat"
  682. ShowTopics = "0"
  683. </channel>
  684. <set ShowTopics="1">
  685. ]]>
  686. </programlisting></refsynopsisdiv>
  687. <refsect1>
  688. <title>Description</title>
  689. <para>
  690. With this option you can disable the "Latest topics" section on the
  691. stats page. It will simply disappear when specifying 0.
  692. </para>
  693. </refsect1>
  694. <refsect1>
  695. <title>Default</title>
  696. <para> 1 (enabled) </para>
  697. </refsect1>
  698. </refentry>
  699. <!-- *** SHOWWPL *** -->
  700. <refentry id="ShowWpl">
  701. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  702. <refnamediv>
  703. <refname>ShowWpl</refname>
  704. <refpurpose>enable/disable "words per line"</refpurpose>
  705. </refnamediv>
  706. <refsynopsisdiv><programlisting>
  707. <![CDATA[
  708. <channel="#channel">
  709. Logfile = "channel.log"
  710. Format = "xchat"
  711. ShowWpl = "0"
  712. </channel>
  713. <set ShowWpl="1">
  714. ]]>
  715. </programlisting></refsynopsisdiv>
  716. <refsect1>
  717. <title>Description</title>
  718. <para>
  719. With this option you can enable the "words per line" coloumn in the
  720. "Most Active Nicks" section. It will add a column describing the average
  721. words per line for a person.
  722. </para>
  723. </refsect1>
  724. <refsect1>
  725. <title>Default</title>
  726. <para> 0 (disabled) </para>
  727. </refsect1>
  728. </refentry>
  729. <!-- *** SHOWCPL *** -->
  730. <refentry id="ShowCpl">
  731. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  732. <refnamediv>
  733. <refname>ShowCpl</refname>
  734. <refpurpose>enable/disable "characters per line"</refpurpose>
  735. </refnamediv>
  736. <refsynopsisdiv><programlisting>
  737. <![CDATA[
  738. <channel="#channel">
  739. Logfile = "channel.log"
  740. Format = "xchat"
  741. ShowCpl = "0"
  742. </channel>
  743. <set ShowCpl="1">
  744. ]]>
  745. </programlisting></refsynopsisdiv>
  746. <refsect1>
  747. <title>Description</title>
  748. <para>
  749. With this option you can enable the "characters per line" coloumn in the
  750. "Most Active Nicks" section. It will add a column describing the average
  751. number of characters per line for a person.
  752. </para>
  753. </refsect1>
  754. <refsect1>
  755. <title>Default</title>
  756. <para> 0 (disabled) </para>
  757. </refsect1>
  758. </refentry>
  759. <!-- *** SHOWWORDS *** -->
  760. <refentry id="ShowWords">
  761. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  762. <refnamediv>
  763. <refname>ShowWords</refname>
  764. <refpurpose>enable/disable "number of words"</refpurpose>
  765. </refnamediv>
  766. <refsynopsisdiv><programlisting>
  767. <![CDATA[
  768. <channel="#channel">
  769. Logfile = "channel.log"
  770. Format = "xchat"
  771. ShowWords = "0"
  772. </channel>
  773. <set ShowWords="1">
  774. ]]>
  775. </programlisting></refsynopsisdiv>
  776. <refsect1>
  777. <title>Description</title>
  778. <para>
  779. The <command>ShowWords</command> option adds a column to the "Most
  780. Active Nicks" list which list the total number of words a user has
  781. typed.
  782. </para>
  783. </refsect1>
  784. <refsect1>
  785. <title>Default</title>
  786. <para> 0 (disabled) </para>
  787. </refsect1>
  788. </refentry>
  789. <!-- *** ShowLastSeen *** -->
  790. <refentry id="ShowLastSeen">
  791. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  792. <refnamediv>
  793. <refname>ShowLastSeen</refname>
  794. <refpurpose>show when a user was last seen on a channel</refpurpose>
  795. </refnamediv>
  796. <refsynopsisdiv><programlisting>
  797. <![CDATA[
  798. <channel="#channel">
  799. Logfile = "channel.log"
  800. Format = "xchat"
  801. ShowLastSeen = "0"
  802. </channel>
  803. <set ShowLastSeen="1">
  804. ]]>
  805. </programlisting></refsynopsisdiv>
  806. <refsect1>
  807. <title>Description</title>
  808. <para>
  809. With this option enabled, a column will be added to the "Most Active
  810. Nicks" section to display when a user was last seen. Eg. "2 days ago".
  811. </para>
  812. </refsect1>
  813. <refsect1>
  814. <title>Default</title>
  815. <para> 0 (disabled) </para>
  816. </refsect1>
  817. </refentry>
  818. <!-- *** SHOWTIME *** -->
  819. <refentry id="ShowTime">
  820. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  821. <refnamediv>
  822. <refname>ShowTime</refname>
  823. <refpurpose>show when a nick was active</refpurpose>
  824. </refnamediv>
  825. <refsynopsisdiv><programlisting>
  826. <![CDATA[
  827. <channel="#channel">
  828. Logfile = "channel.log"
  829. Format = "xchat"
  830. ShowTime = "0"
  831. </channel>
  832. <set ShowTime="1">
  833. ]]>
  834. </programlisting></refsynopsisdiv>
  835. <refsect1>
  836. <title>Description</title>
  837. <para>
  838. The default behaviour is to add a column to the "Most Active Nicks"
  839. section displaying a fancy timebar to show when a user was active. With
  840. this option it can be disabled.
  841. </para>
  842. </refsect1>
  843. <refsect1>
  844. <title>Default</title>
  845. <para> 1 (enabled) </para>
  846. </refsect1>
  847. </refentry>
  848. <!-- *** SHOWLINETIME *** -->
  849. <refentry id="ShowLineTime">
  850. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  851. <refnamediv>
  852. <refname>ShowLineTime</refname>
  853. <refpurpose>mIRCStats like behaviour of timebar</refpurpose>
  854. </refnamediv>
  855. <refsynopsisdiv><programlisting>
  856. <![CDATA[
  857. <channel="#channel">
  858. Logfile = "channel.log"
  859. Format = "bobot"
  860. ShowLineTime = "0"
  861. </channel>
  862. <set ShowLineTime="1">
  863. ]]>
  864. </programlisting></refsynopsisdiv>
  865. <refsect1>
  866. <title>Description</title>
  867. <para>
  868. The default behaviour is to add a column to the "Most Active Nicks"
  869. section displaying a fancy linetimebar to show when a user was active.
  870. With this option it can be done the same way as mIRCStats does it; that
  871. is, by putting that timebar next to the number of lines, in the same
  872. column.
  873. </para>
  874. </refsect1>
  875. <refsect1>
  876. <title>Default</title>
  877. <para> 0 (disabled) </para>
  878. </refsect1>
  879. </refentry>
  880. <!-- *** SHOWRANDQUOTE *** -->
  881. <refentry id="ShowRandQuote">
  882. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  883. <refnamediv>
  884. <refname>ShowRandQuote</refname>
  885. <refpurpose>enable or disable the random quotes</refpurpose>
  886. </refnamediv>
  887. <refsynopsisdiv><programlisting>
  888. <![CDATA[
  889. <channel="#channel">
  890. Logfile = "channel.log"
  891. Format = "bobot"
  892. ShowRandQuote = "0"
  893. </channel>
  894. <set ShowRandQuote="1">
  895. ]]>
  896. </programlisting></refsynopsisdiv>
  897. <refsect1>
  898. <title>Description</title>
  899. <para>
  900. The default behaviour is to add a column to the "Most Active Nicks"
  901. section displaying a users random quote. With this option it can be
  902. disabled.
  903. </para>
  904. </refsect1>
  905. <refsect1>
  906. <title>Default</title>
  907. <para> 1 (enabled) </para>
  908. </refsect1>
  909. </refentry>
  910. <!-- *** SHOWLEGEND *** -->
  911. <refentry id="ShowLegend">
  912. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  913. <refnamediv>
  914. <refname>ShowLegend</refname>
  915. <refpurpose>enable or disable the legend of the timebars</refpurpose>
  916. </refnamediv>
  917. <refsynopsisdiv><programlisting>
  918. <![CDATA[
  919. <channel="#channel">
  920. Logfile = "channel.log"
  921. Format = "bobot"
  922. ShowLegend = "0"
  923. </channel>
  924. <set ShowLegend="1">
  925. ]]>
  926. </programlisting></refsynopsisdiv>
  927. <refsect1>
  928. <title>Description</title>
  929. <para>
  930. By default, pisg shows a legend below the "Most Active Times" displaying
  931. what the different colors means. With this option it can be disabled.
  932. </para>
  933. </refsect1>
  934. <refsect1>
  935. <title>Default</title>
  936. <para> 1 (enabled) </para>
  937. </refsect1>
  938. </refentry>
  939. <!-- *** SHOWKICKLINE *** -->
  940. <refentry id="ShowKickLine">
  941. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  942. <refnamediv>
  943. <refname>ShowKickLine</refname>
  944. <refpurpose>enable or disable the kickline</refpurpose>
  945. </refnamediv>
  946. <refsynopsisdiv><programlisting>
  947. <![CDATA[
  948. <channel="#channel">
  949. Logfile = "channel.log"
  950. Format = "bobot"
  951. ShowKickLine = "0"
  952. </channel>
  953. <set ShowKickLine="1">
  954. ]]>
  955. </programlisting></refsynopsisdiv>
  956. <refsect1>
  957. <title>Description</title>
  958. <para>
  959. By default, pisg shows an example kickline in the "Most kicked"-stats.
  960. With this option it can be disabled.
  961. </para>
  962. </refsect1>
  963. <refsect1>
  964. <title>Default</title>
  965. <para> 1 (enabled) </para>
  966. </refsect1>
  967. </refentry>
  968. <!-- *** SHOWACTIONLINE *** -->
  969. <refentry id="ShowActionLine">
  970. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  971. <refnamediv>
  972. <refname>ShowActionLine</refname>
  973. <refpurpose>enable or disable the actionline</refpurpose>
  974. </refnamediv>
  975. <refsynopsisdiv><programlisting>
  976. <![CDATA[
  977. <channel="#channel">
  978. Logfile = "channel.log"
  979. Format = "bobot"
  980. ShowActionLine = "0"
  981. </channel>
  982. <set ShowActionLine="1">
  983. ]]>
  984. </programlisting></refsynopsisdiv>
  985. <refsect1>
  986. <title>Description</title>
  987. <para>
  988. By default, pisg shows an example actionline in the "Most actions"-stats.
  989. With this option it can be disabled.
  990. </para>
  991. </refsect1>
  992. <refsect1>
  993. <title>Default</title>
  994. <para> 1 (enabled) </para>
  995. </refsect1>
  996. </refentry>
  997. <!-- *** SHOWSHOUTLINE *** -->
  998. <refentry id="ShowShoutLine">
  999. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1000. <refnamediv>
  1001. <refname>ShowShoutLine</refname>
  1002. <refpurpose>enable or disable the shoutline</refpurpose>
  1003. </refnamediv>
  1004. <refsynopsisdiv><programlisting>
  1005. <![CDATA[
  1006. <channel="#channel">
  1007. Logfile = "channel.log"
  1008. Format = "bobot"
  1009. ShowShoutLine = "0"
  1010. </channel>
  1011. <set ShowShoutLine="1">
  1012. ]]>
  1013. </programlisting></refsynopsisdiv>
  1014. <refsect1>
  1015. <title>Description</title>
  1016. <para>
  1017. By default, pisg shows an example shoutline in the "Most shouting
  1018. people"-stats. With this option it can be disabled.
  1019. </para>
  1020. </refsect1>
  1021. <refsect1>
  1022. <title>Default</title>
  1023. <para> 1 (enabled) </para>
  1024. </refsect1>
  1025. </refentry>
  1026. <!-- *** SHOWVIOLENTLINES *** -->
  1027. <refentry id="ShowViolentLines">
  1028. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1029. <refnamediv>
  1030. <refname>ShowViolentLines</refname>
  1031. <refpurpose>enable or disable the violentlines</refpurpose>
  1032. </refnamediv>
  1033. <refsynopsisdiv><programlisting>
  1034. <![CDATA[
  1035. <channel="#channel">
  1036. Logfile = "channel.log"
  1037. Format = "bobot"
  1038. ShowViolentLines = "0"
  1039. </channel>
  1040. <set ShowViolentLines="1">
  1041. ]]>
  1042. </programlisting></refsynopsisdiv>
  1043. <refsect1>
  1044. <title>Description</title>
  1045. <para>
  1046. By default, pisg shows example violentlines in the "Most aggresive"
  1047. and "Most attacked"-stats. With this option it can be disabled.
  1048. </para>
  1049. </refsect1>
  1050. <refsect1>
  1051. <title>Default</title>
  1052. <para> 1 (enabled) </para>
  1053. </refsect1>
  1054. </refentry>
  1055. <!-- *** SHOWMUW *** -->
  1056. <refentry id="ShowMuw">
  1057. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1058. <refnamediv>
  1059. <refname>ShowMuw</refname>
  1060. <refpurpose>enable or disable "Most used words"</refpurpose>
  1061. </refnamediv>
  1062. <refsynopsisdiv><programlisting>
  1063. <![CDATA[
  1064. <channel="#channel">
  1065. Logfile = "channel.log"
  1066. Format = "xchat"
  1067. ShowMuw = "0"
  1068. </channel>
  1069. <set ShowMuw="1">
  1070. ]]>
  1071. </programlisting></refsynopsisdiv>
  1072. <refsect1>
  1073. <title>Description</title>
  1074. <para>
  1075. By default, pisg adds an "Most used words" section to the stats page.
  1076. With this option you can disable it from being shown.
  1077. </para>
  1078. </refsect1>
  1079. <refsect1>
  1080. <title>Default</title>
  1081. <para> 1 (enabled) </para>
  1082. </refsect1>
  1083. </refentry>
  1084. <!-- *** SHOWMRN *** -->
  1085. <refentry id="ShowMrn">
  1086. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1087. <refnamediv>
  1088. <refname>ShowMrn</refname>
  1089. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1090. </refnamediv>
  1091. <refsynopsisdiv><programlisting>
  1092. <![CDATA[
  1093. <channel="#channel">
  1094. Logfile = "channel.log"
  1095. Format = "xchat"
  1096. ShowMrn = "0"
  1097. </channel>
  1098. <set ShowMrn="1">
  1099. ]]>
  1100. </programlisting></refsynopsisdiv>
  1101. <refsect1>
  1102. <title>Description</title>
  1103. <para>
  1104. By default, pisg adds an "Most referenced nicks" section to the stats
  1105. page. With this option you can disable it from being shown.
  1106. </para>
  1107. </refsect1>
  1108. <refsect1>
  1109. <title>Default</title>
  1110. <para> 1 (enabled) </para>
  1111. </refsect1>
  1112. </refentry>
  1113. <!-- *** SHOWMRU *** -->
  1114. <refentry id="ShowMru">
  1115. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1116. <refnamediv>
  1117. <refname>ShowMru</refname>
  1118. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1119. </refnamediv>
  1120. <refsynopsisdiv><programlisting>
  1121. <![CDATA[
  1122. <channel="#channel">
  1123. Logfile = "channel.log"
  1124. Format = "xchat"
  1125. ShowMru = "0"
  1126. </channel>
  1127. <set ShowMru="1">
  1128. ]]>
  1129. </programlisting></refsynopsisdiv>
  1130. <refsect1>
  1131. <title>Description</title>
  1132. <para>
  1133. By default, pisg adds an "Most referenced URLs" section to the stats
  1134. page. With this option you can disable it from being shown.
  1135. </para>
  1136. </refsect1>
  1137. <refsect1>
  1138. <title>Default</title>
  1139. <para> 1 (enabled) </para>
  1140. </refsect1>
  1141. </refentry>
  1142. <!-- *** SHOWVOICES *** -->
  1143. <refentry id="ShowVoices">
  1144. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1145. <refnamediv>
  1146. <refname>ShowVoices</refname>
  1147. <refpurpose>enable or disable voice statistics</refpurpose>
  1148. </refnamediv>
  1149. <refsynopsisdiv><programlisting>
  1150. <![CDATA[
  1151. <channel="#channel">
  1152. Logfile = "channel.log"
  1153. Format = "xchat"
  1154. ShowVoices = "0"
  1155. </channel>
  1156. <set ShowVoices="1">
  1157. ]]>
  1158. </programlisting></refsynopsisdiv>
  1159. <refsect1>
  1160. <title>Description</title>
  1161. <para>
  1162. By default, pisg doesn't have voice statistics like it has op
  1163. statistics. Enabling this option will add a section to the "Most
  1164. interesting numbers" displaying who got most voices.
  1165. </para>
  1166. </refsect1>
  1167. <refsect1>
  1168. <title>Default</title>
  1169. <para> 0 (disabled) </para>
  1170. </refsect1>
  1171. </refentry>
  1172. <!-- *** SHOWMOSTNICKS *** -->
  1173. <refentry id="ShowMostNicks">
  1174. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1175. <refnamediv>
  1176. <refname>ShowMostNicks</refname>
  1177. <refpurpose>show who changed nick most often</refpurpose>
  1178. </refnamediv>
  1179. <refsynopsisdiv><programlisting>
  1180. <![CDATA[
  1181. <channel="#channel">
  1182. Logfile = "channel.log"
  1183. Format = "xchat"
  1184. ShowMostNicks = "0"
  1185. </channel>
  1186. <set ShowMostNicks="1">
  1187. ]]>
  1188. </programlisting></refsynopsisdiv>
  1189. <refsect1>
  1190. <title>Description</title>
  1191. <para>
  1192. By enabling this option, pisg will add a section to the stats showing
  1193. who had the most nicks, and what the nicks were. This option only works
  1194. properly when <command>NickTracking</command> is enabled.
  1195. </para>
  1196. </refsect1>
  1197. <refsect1>
  1198. <title>Default</title>
  1199. <para> 0 (disabled) </para>
  1200. </refsect1>
  1201. </refentry>
  1202. <!-- *** IGNOREWORDS *** -->
  1203. <refentry id="IgnoreWords">
  1204. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  1205. <refnamediv>
  1206. <refname>IgnoreWords</refname>
  1207. <refpurpose>ignore specified words</refpurpose>
  1208. </refnamediv>
  1209. <refsynopsisdiv><programlisting>
  1210. <![CDATA[
  1211. <channel="#channel">
  1212. Logfile = "channel.log"
  1213. Format = "xchat"
  1214. IgnoreWords = "foo bar"
  1215. </channel>
  1216. <set IgnoreWords="you me">
  1217. ]]>
  1218. </programlisting></refsynopsisdiv>
  1219. <refsect1>
  1220. <title>Description</title>
  1221. <para>
  1222. Sometimes words in the "most used words" appears which you don't want to
  1223. see, with this option you can ignore these words. It also applies to the
  1224. "most referenced nicks" section. It's a space seperated list of words.
  1225. </para>
  1226. </refsect1>
  1227. <refsect1>
  1228. <title>Default</title>
  1229. <para> unset </para>
  1230. </refsect1>
  1231. </refentry>
  1232. <!-- *** FOULWORDS *** -->
  1233. <refentry id="FoulWords">
  1234. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  1235. <refnamediv>
  1236. <refname>FoulWords</refname>
  1237. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  1238. </refnamediv>
  1239. <refsynopsisdiv><programlisting>
  1240. <![CDATA[
  1241. <channel="#channel">
  1242. Logfile = "channel.log"
  1243. Format = "xchat"
  1244. FoulWords = "ass bitch"
  1245. </channel>
  1246. <set FoulWords="slaps beats kick">
  1247. ]]>
  1248. </programlisting></refsynopsisdiv>
  1249. <refsect1>
  1250. <title>Description</title>
  1251. <para>
  1252. There is a section in the "Most interesting numbers" which tells who had
  1253. a "dirty mouth" - here you can define which words are considered being
  1254. bad/foul. It is a space seperated list of words.
  1255. </para>
  1256. </refsect1>
  1257. <refsect1>
  1258. <title>Default</title>
  1259. <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
  1260. </refsect1>
  1261. </refentry>
  1262. <!-- *** REGEXPALIASES *** -->
  1263. <refentry id="RegexpAliases">
  1264. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  1265. <refnamediv>
  1266. <refname>RegexpAliases</refname>
  1267. <refpurpose>use regular expressions in user aliases</refpurpose>
  1268. </refnamediv>
  1269. <refsynopsisdiv><programlisting>
  1270. <![CDATA[
  1271. <user nick="Joe" alias="Joe\d+">
  1272. <set RegexpAliases="1">
  1273. ]]>
  1274. </programlisting></refsynopsisdiv>
  1275. <refsect1>
  1276. <title>Description</title>
  1277. <para>
  1278. Enabling this option will make all aliases in &lt;user&gt; lines be
  1279. parsed as regular expressions.
  1280. </para>
  1281. </refsect1>
  1282. <refsect1>
  1283. <title>Default</title>
  1284. <para> 0 (disabled) </para>
  1285. </refsect1>
  1286. </refentry>
  1287. <!-- *** SILENT *** -->
  1288. <refentry id="Silent">
  1289. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  1290. <refnamediv>
  1291. <refname>Silent</refname>
  1292. <refpurpose>make pisg Silent, suppress messages</refpurpose>
  1293. </refnamediv>
  1294. <refsynopsisdiv><programlisting>
  1295. <![CDATA[
  1296. <set Silent="1">
  1297. ]]>
  1298. </programlisting></refsynopsisdiv>
  1299. <refsect1>
  1300. <title>Description</title>
  1301. <para>
  1302. This option is useful mainly from commandline when invoking pisg with
  1303. <command>--silent 1</command>. But it can also used in the configuration
  1304. file. It will suppress all standard output from pisg. Error messages
  1305. will still be sent.
  1306. </para>
  1307. </refsect1>
  1308. <refsect1>
  1309. <title>Default</title>
  1310. <para> 0 (disabled) </para>
  1311. </refsect1>
  1312. </refentry>
  1313. <!-- *** CHARSET *** -->
  1314. <refentry id="Charset">
  1315. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  1316. <refnamediv>
  1317. <refname>Charset</refname>
  1318. <refpurpose>Charset to use for stats page</refpurpose>
  1319. </refnamediv>
  1320. <refsynopsisdiv><programlisting>
  1321. <![CDATA[
  1322. <channel="#channel">
  1323. Logfile = "channel.log"
  1324. Format = "xchat"
  1325. Charset = "utf-8"
  1326. </channel>
  1327. <set Charset="iso-8859-15">
  1328. ]]>
  1329. </programlisting></refsynopsisdiv>
  1330. <refsect1>
  1331. <title>Description</title>
  1332. <para>
  1333. The pisg stats page defines a charset in a meta tag, this can be used if
  1334. your country is using a different one than the default.
  1335. </para>
  1336. </refsect1>
  1337. <refsect1>
  1338. <title>Default</title>
  1339. <para> iso-8859-1 </para>
  1340. </refsect1>
  1341. </refentry>
  1342. <!-- *** MinQuote *** -->
  1343. <refentry id="MinQuote">
  1344. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  1345. <refnamediv>
  1346. <refname>MinQuote</refname>
  1347. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  1348. </refnamediv>
  1349. <refsynopsisdiv><programlisting>
  1350. <![CDATA[
  1351. <channel="#channel">
  1352. Logfile = "channel.log"
  1353. Format = "xchat"
  1354. MinQuote = "10"
  1355. </channel>
  1356. <set MinQuote="5">
  1357. ]]>
  1358. </programlisting></refsynopsisdiv>
  1359. <refsect1>
  1360. <title>Description</title>
  1361. <para>
  1362. The random quotes displayed in the "Most Active Nicks" section has a
  1363. certain range specified. With this option you can change the minimum
  1364. number of letters required for a random quote. Also see the
  1365. <command>maxquote</command> option.
  1366. </para>
  1367. </refsect1>
  1368. <refsect1>
  1369. <title>Default</title>
  1370. <para> 25 </para>
  1371. </refsect1>
  1372. </refentry>
  1373. <!-- *** MaxQuote *** -->
  1374. <refentry id="MaxQuote">
  1375. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  1376. <refnamediv>
  1377. <refname>MaxQuote</refname>
  1378. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  1379. </refnamediv>
  1380. <refsynopsisdiv><programlisting>
  1381. <![CDATA[
  1382. <channel="#channel">
  1383. Logfile = "channel.log"
  1384. Format = "xchat"
  1385. MaxQuote = "70"
  1386. </channel>
  1387. <set MaxQuote="100">
  1388. ]]>
  1389. </programlisting></refsynopsisdiv>
  1390. <refsect1>
  1391. <title>Description</title>
  1392. <para>
  1393. The random quotes displayed in the "Most Active Nicks" section has a
  1394. certain range specified. With this option you can change the maximum
  1395. number of letters required for a random quote. Also see the
  1396. <command>minquote</command> option.
  1397. </para>
  1398. </refsect1>
  1399. <refsect1>
  1400. <title>Default</title>
  1401. <para> 65 </para>
  1402. </refsect1>
  1403. </refentry>
  1404. <!-- *** WORDLENGTH *** -->
  1405. <refentry id="WordLength">
  1406. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  1407. <refnamediv>
  1408. <refname>WordLength</refname>
  1409. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  1410. </refnamediv>
  1411. <refsynopsisdiv><programlisting>
  1412. <![CDATA[
  1413. <channel="#channel">
  1414. Logfile = "channel.log"
  1415. Format = "xchat"
  1416. WordLength = "10"
  1417. </channel>
  1418. <set WordLength="2">
  1419. ]]>
  1420. </programlisting></refsynopsisdiv>
  1421. <refsect1>
  1422. <title>Description</title>
  1423. <para>
  1424. The "Most Used Words" section on the stats page display the most used
  1425. words. The default is that a word only appears if it is longer than 5
  1426. characters. With this option you can change that minimum.
  1427. </para>
  1428. </refsect1>
  1429. <refsect1>
  1430. <title>Default</title>
  1431. <para> 5 </para>
  1432. </refsect1>
  1433. </refentry>
  1434. <!-- *** ACTIVENICKS *** -->
  1435. <refentry id="ActiveNicks">
  1436. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  1437. <refnamediv>
  1438. <refname>ActiveNicks</refname>
  1439. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  1440. </refnamediv>
  1441. <refsynopsisdiv><programlisting>
  1442. <![CDATA[
  1443. <channel="#channel">
  1444. Logfile = "channel.log"
  1445. Format = "mIRC"
  1446. ActiveNicks = "50"
  1447. </channel>
  1448. <set ActiveNicks="10">
  1449. ]]>
  1450. </programlisting></refsynopsisdiv>
  1451. <refsect1>
  1452. <title>Description</title>
  1453. <para>
  1454. With this option you can define how many nicks you want to appear in the
  1455. "Most Active Nicks" section on the stats page.
  1456. </para>
  1457. </refsect1>
  1458. <refsect1>
  1459. <title>Default</title>
  1460. <para> 25 </para>
  1461. </refsect1>
  1462. </refentry>
  1463. <!-- *** ACTIVENICKS2 *** -->
  1464. <refentry id="ActiveNicks2">
  1465. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  1466. <refnamediv>
  1467. <refname>ActiveNicks2</refname>
  1468. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  1469. </refnamediv>
  1470. <refsynopsisdiv><programlisting>
  1471. <![CDATA[
  1472. <channel="#channel">
  1473. Logfile = "channel.log"
  1474. Format = "mIRC"
  1475. ActiveNicks2 = "25"
  1476. </channel>
  1477. <set ActiveNicks2="10">
  1478. ]]>
  1479. </programlisting></refsynopsisdiv>
  1480. <refsect1>
  1481. <title>Description</title>
  1482. <para>
  1483. With this option you can define how many nicks you want to appear in the
  1484. "These didn't make it" section on the stats page.
  1485. </para>
  1486. </refsect1>
  1487. <refsect1>
  1488. <title>Default</title>
  1489. <para> 30 </para>
  1490. </refsect1>
  1491. </refentry>
  1492. <!-- *** MOSTNICKSHISTORY *** -->
  1493. <refentry id="MostNicksHistory">
  1494. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  1495. <refnamediv>
  1496. <refname>MostNicksHistory</refname>
  1497. <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
  1498. </refnamediv>
  1499. <refsynopsisdiv><programlisting>
  1500. <![CDATA[
  1501. <channel="#channel">
  1502. Logfile = "channel.log"
  1503. Format = "mIRC"
  1504. MostNicksHistory = "2"
  1505. </channel>
  1506. <set MostNicksHistory="10">
  1507. ]]>
  1508. </programlisting></refsynopsisdiv>
  1509. <refsect1>
  1510. <title>Description</title>
  1511. <para>
  1512. With this option you can define how many nicks you want to appear in
  1513. the "Most used nicks" section.
  1514. </para>
  1515. </refsect1>
  1516. <refsect1>
  1517. <title>Default</title>
  1518. <para> 5 </para>
  1519. </refsect1>
  1520. </refentry>
  1521. <!-- *** TOPICHISTORY *** -->
  1522. <refentry id="TopicHistory">
  1523. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  1524. <refnamediv>
  1525. <refname>TopicHistory</refname>
  1526. <refpurpose>maximum number of topics to show</refpurpose>
  1527. </refnamediv>
  1528. <refsynopsisdiv><programlisting>
  1529. <![CDATA[
  1530. <channel="#channel">
  1531. Logfile = "channel.log"
  1532. Format = "mIRC"
  1533. TopicHistory = "2"
  1534. </channel>
  1535. <set TopicHistory="10">
  1536. ]]>
  1537. </programlisting></refsynopsisdiv>
  1538. <refsect1>
  1539. <title>Description</title>
  1540. <para>
  1541. With this option you can define how many topics you want to appear in
  1542. the "Latest topics" section.
  1543. </para>
  1544. </refsect1>
  1545. <refsect1>
  1546. <title>Default</title>
  1547. <para> 3 </para>
  1548. </refsect1>
  1549. </refentry>
  1550. <!-- *** URLHISTORY *** -->
  1551. <refentry id="UrlHistory">
  1552. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  1553. <refnamediv>
  1554. <refname>UrlHistory</refname>
  1555. <refpurpose>maximum number of urls to show</refpurpose>
  1556. </refnamediv>
  1557. <refsynopsisdiv><programlisting>
  1558. <![CDATA[
  1559. <channel="#channel">
  1560. Logfile = "channel.log"
  1561. Format = "mIRC"
  1562. UrlHistory = "2"
  1563. </channel>
  1564. <set UrlHistory="10">
  1565. ]]>
  1566. </programlisting></refsynopsisdiv>
  1567. <refsect1>
  1568. <title>Description</title>
  1569. <para>
  1570. With this option you can define how many urls you want to appear in
  1571. the "Most referenced URLs" section.
  1572. </para>
  1573. </refsect1>
  1574. <refsect1>
  1575. <title>Default</title>
  1576. <para> 5 </para>
  1577. </refsect1>
  1578. </refentry>
  1579. <!-- *** WORDHISTORY *** -->
  1580. <refentry id="WordHistory">
  1581. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  1582. <refnamediv>
  1583. <refname>WordHistory</refname>
  1584. <refpurpose>maximum number of words to show</refpurpose>
  1585. </refnamediv>
  1586. <refsynopsisdiv><programlisting>
  1587. <![CDATA[
  1588. <channel="#channel">
  1589. Logfile = "channel.log"
  1590. Format = "mIRC"
  1591. WordHistory = "5"
  1592. </channel>
  1593. <set WordHistory="15">
  1594. ]]>
  1595. </programlisting></refsynopsisdiv>
  1596. <refsect1>
  1597. <title>Description</title>
  1598. <para>
  1599. With this option you can define how many words you want to appear in
  1600. the "Most used words" section.
  1601. </para>
  1602. </refsect1>
  1603. <refsect1>
  1604. <title>Default</title>
  1605. <para> 10 </para>
  1606. </refsect1>
  1607. </refentry>
  1608. <!-- *** NICKHISTORY *** -->
  1609. <refentry id="NickHistory">
  1610. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  1611. <refnamediv>
  1612. <refname>NickHistory</refname>
  1613. <refpurpose>maximum number of nicks to show</refpurpose>
  1614. </refnamediv>
  1615. <refsynopsisdiv><programlisting>
  1616. <![CDATA[
  1617. <channel="#channel">
  1618. Logfile = "channel.log"
  1619. Format = "mIRC"
  1620. NickHistory = "3"
  1621. </channel>
  1622. <set NickHistory="15">
  1623. ]]>
  1624. </programlisting></refsynopsisdiv>
  1625. <refsect1>
  1626. <title>Description</title>
  1627. <para>
  1628. With this option you can define how many nicks you want to appear in
  1629. the "Most referenced nicks" section.
  1630. </para>
  1631. </refsect1>
  1632. <refsect1>
  1633. <title>Default</title>
  1634. <para> 5 </para>
  1635. </refsect1>
  1636. </refentry>
  1637. <!-- *** LANGFILE *** -->
  1638. <refentry id="LangFile">
  1639. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  1640. <refnamediv>
  1641. <refname>LangFile</refname>
  1642. <refpurpose>filename of language file</refpurpose>
  1643. </refnamediv>
  1644. <refsynopsisdiv><programlisting>
  1645. <![CDATA[
  1646. <set LangFile="mylang.txt">
  1647. ]]>
  1648. </programlisting></refsynopsisdiv>
  1649. <refsect1>
  1650. <title>Description</title>
  1651. <para>
  1652. With this option you have an alternative way to define the name and/or
  1653. path to the language file. Usually you don't have to touch this option.
  1654. </para>
  1655. </refsect1>
  1656. <refsect1>
  1657. <title>Default</title>
  1658. <para> lang.txt </para>
  1659. </refsect1>
  1660. </refentry>
  1661. <!-- *** NICKTRACKING *** -->
  1662. <refentry id="NickTracking">
  1663. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  1664. <refnamediv>
  1665. <refname>NickTracking</refname>
  1666. <refpurpose>track nickchanges and create aliases</refpurpose>
  1667. </refnamediv>
  1668. <refsynopsisdiv><programlisting>
  1669. <![CDATA[
  1670. <set NickTracking="1">
  1671. ]]>
  1672. </programlisting></refsynopsisdiv>
  1673. <refsect1>
  1674. <title>Description</title>
  1675. <para>
  1676. Enabling this option will track nickchanges as well as it can. It will
  1677. then automatically create aliases for these nicks.
  1678. </para>
  1679. </refsect1>
  1680. <refsect1>
  1681. <title>Default</title>
  1682. <para> 0 (disabled) </para>
  1683. </refsect1>
  1684. </refentry>
  1685. <!-- *** LOGTYPE *** -->
  1686. <refentry id="LogType">
  1687. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  1688. <refnamediv>
  1689. <refname>LogType</refname>
  1690. <refpurpose>type of log (not the format of the log)</refpurpose>
  1691. </refnamediv>
  1692. <refsynopsisdiv><programlisting>
  1693. <![CDATA[
  1694. <set LogType="Logfile">
  1695. ]]>
  1696. </programlisting></refsynopsisdiv>
  1697. <refsect1>
  1698. <title>Description</title>
  1699. <para>
  1700. The type of logs kept for your channel. Currently only "Logfile" is
  1701. supported, so you don't need to change this option.
  1702. </para>
  1703. </refsect1>
  1704. <refsect1>
  1705. <title>Default</title>
  1706. <para> Logfile </para>
  1707. </refsect1>
  1708. </chapter>
  1709. </book>