pisg-doc.sgml 76 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947
  1. <!-- This is the raw docbook source of the pisg documentation -->
  2. <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
  3. <book id="pisg-documentation">
  4. <bookinfo>
  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 an 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 on, 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. For Windows this means
  53. that you need to download <ulink
  54. url="http://activestate.com/Products/ASPN_Perl/">Active State Perl
  55. (ASPN Perl)</ulink>.
  56. </para>
  57. </listitem>
  58. <listitem>
  59. <para>
  60. <emphasis>Optional</emphasis> - a system to host the statistics page
  61. 24 hours a day, 7 days a week.
  62. </para>
  63. </listitem>
  64. <listitem>
  65. <para>
  66. <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
  67. a day, 7 days a week.
  68. </para>
  69. </listitem>
  70. </itemizedlist>
  71. </chapter>
  72. <chapter id="setting-up-pisg">
  73. <title>Setting up pisg for the first time</title>
  74. <para>
  75. Most configuration happens through the <filename>pisg.cfg</filename>
  76. file, the file format is made to be easy to read, and easy to extend for
  77. further use. It uses an XML-like format, with elements and attributes.
  78. </para>
  79. <sect1 id="setting-up-a-channel">
  80. <title>Setting up a channel</title>
  81. <para>
  82. An element called <command>channel</command> is made for defining
  83. channels, a quick example of a channel is this:
  84. <programlisting>
  85. <![CDATA[
  86. <channel="#channel">
  87. Logfile = "channel.log"
  88. Format = "mIRC"
  89. Maintainer = "John"
  90. OutputFile = "mychan.html"
  91. </channel>
  92. ]]>
  93. </programlisting>
  94. The above will define a channel called <command>#channel</command>, the
  95. logfile pisg will look for is called <command>channel.log</command> and
  96. the format of the logfile will be <command>mIRC</command>. The
  97. maintainer (which will be stated on the output page) is
  98. <command>John</command>.
  99. </para>
  100. <para>
  101. That is basically it! Now, there are a lot more options that you can use
  102. for your channels, for this please refer to the reference documentation.
  103. </para>
  104. <para>
  105. Also be-aware of the fact that pisg uses various images to show the
  106. time-related bars. These images are placed in the
  107. <filename>gfx/</filename> folder and should be putted into the same
  108. directory as your outputted HTML file.
  109. </para>
  110. </sect1>
  111. <sect1 id="user-options">
  112. <title>Specifying user options</title>
  113. <para>
  114. User options are set with a simple XML-like syntax in the form:
  115. <programlisting>
  116. <![CDATA[<user nick="NICK" option="VALUE">]]>
  117. </programlisting>
  118. Remember, the nick is always required.
  119. For example to add aliases to a nick, then you could do this:
  120. <programlisting>
  121. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  122. </programlisting>
  123. The asterix (*) means that it will match all nicks starting with 'Joe^'. So
  124. it will add all Joe^'s to 'Joe' in the stats.
  125. Another thing you can do is to add a picture to a user:
  126. <programlisting>
  127. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  128. </programlisting>
  129. If you have a larger picture of the user as well, you can make the picture
  130. on the stats page link to it:
  131. <programlisting>
  132. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  133. </programlisting>
  134. You can also set a user's sex:
  135. <programlisting>
  136. <![CDATA[<user nick="Ben" sex="m">]]>
  137. </programlisting>
  138. Also you can add links to URLs and e-mails:
  139. <programlisting>
  140. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  141. </programlisting>
  142. or
  143. <programlisting>
  144. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  145. </programlisting>
  146. The last thing you can do is to ignore nicks (for example bots):
  147. <programlisting>
  148. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  149. </programlisting>
  150. You don't have to do all this in many lines, you could just as easily do:
  151. <programlisting>
  152. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  153. </programlisting>
  154. (Here the aliases are a space separated list of nicks, that also works! But *
  155. as a wildcard is smarter, although it is slower).
  156. </para>
  157. </sect1>
  158. <sect1 id="global-options">
  159. <title>Setting global options</title>
  160. <para>
  161. Many times, it will be useful to set up global options, global options
  162. are set like this:
  163. <programlisting>
  164. <![CDATA[<set option="VALUE">]]>
  165. </programlisting>
  166. Any global option will override anything defined within channel
  167. elements (see <xref linkend="setting-up-a-channel">)
  168. </para>
  169. <para>
  170. For example, to change the background color of the stats page, you
  171. could do:
  172. <programlisting>
  173. <![CDATA[<set bgcolor="black">]]>
  174. </programlisting>
  175. You can set many options in a single <command>set</command>:
  176. <programlisting>
  177. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  178. </programlisting>
  179. The above will set the language on the statistics page to DE (Deutch,
  180. German) and set the timeoffset to +1.
  181. All options available are mentioned in the reference documentation.
  182. </sect1>
  183. <sect1 id="ignoring-links">
  184. <title>Ignoring links</title>
  185. <para>
  186. It's possible to ignore links in the "Most referenced URLs" section:
  187. <programlisting>
  188. <![CDATA[
  189. <link url="http://www.slashdot.org" ignore="y">
  190. ]]>
  191. </programlisting>
  192. </para>
  193. </sect1>
  194. <sect1 id="including-config">
  195. <title>Including common settings for various channels</title>
  196. <para>
  197. If you have, for example, more than one channel, where the users are the
  198. same, or you don't want to maintain more than one user file, you can use
  199. the "include" setting in the main config file:
  200. <programlisting>
  201. <![CDATA[
  202. <include="/home/vetinari/pisg/users.cfg">
  203. ]]>
  204. </programlisting>
  205. This will include the file /home/vetinari/pisg/users.cfg in the config
  206. at the place where the include statement is set.
  207. </para>
  208. <para>
  209. Note, that you can NOT include a file from an included file!
  210. </para>
  211. </sect1>
  212. <sect1 id="using-css">
  213. <title>Changing the layout of your stats page</title>
  214. <para>
  215. The standard layout and colors in the outputted HTML page are made to be
  216. somewhat clean and neutral. But you have the chance to change the layout
  217. yourself.
  218. </para>
  219. <para>
  220. There are a few predefined colorschemes for you to use, use the
  221. ColorScheme option when using them. The available colorschemes are:
  222. 'default', 'darkgalaxy', 'ocean', 'darkred'.
  223. </para>
  224. <para>
  225. When changing it, you need a fair knowledge of CSS (Cascading Style
  226. Sheets). CSS is what most of the web uses today to define styles and
  227. layout on HTML pages.
  228. </para>
  229. <para>
  230. With the pisg distribution, look in the <filename>layout</filename>
  231. directory. In it resides <filename>default.css</filename> which is the
  232. file being included onto the HTML page. Open it in a text editor like
  233. vi or notepad. Then change it until you're happy with it. Be aware that
  234. you might want to look at the hicell and hicell2 options through
  235. pisg.cfg for changing the last two colors.
  236. </para>
  237. <para>
  238. If you have created a nice stylesheet which other can take advantage of,
  239. you are encouraged to send it to the pisg mailing list so that it can be
  240. distributed with the next version of pisg.
  241. </para>
  242. </sect1>
  243. <sect1 id="running-pisg">
  244. <title>Running pisg</title>
  245. <para>
  246. When everything is set up in the pisg configuration file (pisg.cfg),
  247. then you simply run pisg on the command-line.
  248. </para>
  249. <para>
  250. Using Linux, BSD or another UNIX-like system:
  251. <screen>
  252. <prompt>user@host:pisg-0.37$</prompt> <userinput>./pisg</userinput>
  253. </screen>
  254. </para>
  255. <para>
  256. Using Windows:
  257. <screen>
  258. <prompt>c:\perl\bin&gt;</prompt> <userinput>perl c:\pisg\pisg</userinput>
  259. </screen>
  260. </para>
  261. <para>
  262. Or alternatively:
  263. <screen>
  264. <prompt>c:\pisg&gt;</prompt> <userinput>perl pisg</userinput>
  265. </screen>
  266. </para>
  267. <para>
  268. The program will run and parse the logfiles you specified in the
  269. configuration file.
  270. </para>
  271. <para>
  272. If you are using Linux and want run pisg
  273. automatically several times a day, then see the
  274. <filename>crontab</filename> file in the
  275. <filename>scripts/</filename> directory.
  276. </para>
  277. <para>
  278. For Windows, see the <filename>windows-upload-ftp.txt</filename> file
  279. with the pisg distribution, this file is also placed in the
  280. <filename>scripts/</filename> directory.
  281. </para>
  282. </sect1>
  283. <sect1 id="mailing-list-and-bugs">
  284. <title>Obtaining help and reporting bugs</title>
  285. <para>
  286. If your problem could not be resolved through here, then you should send
  287. an e-mail to the pisg mailing list. You can subscribe and see more info
  288. at <ulink
  289. url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
  290. </para>
  291. <para>
  292. If you believe that you have found a bug, you should use the Sourceforge
  293. <ulink
  294. url="http://sourceforge.net/tracker/?group_id=31862&amp;atid=403711">bug
  295. tracking system.</ulink>
  296. </para>
  297. </sect1>
  298. </chapter>
  299. <chapter id="reference">
  300. <title>General pisg options</title>
  301. <!-- *** CHANNEL *** -->
  302. <refentry id="Channel">
  303. <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
  304. <refnamediv>
  305. <refname>Channel</refname>
  306. <refpurpose>define channel name</refpurpose>
  307. </refnamediv>
  308. <refsynopsisdiv><programlisting>
  309. <![CDATA[
  310. <channel="#channel">
  311. Logfile = "channel.log"
  312. Format = "mIRC"
  313. Maintainer = "John"
  314. </channel>
  315. ]]>
  316. </programlisting></refsynopsisdiv>
  317. <refsect1>
  318. <title>Description</title>
  319. <para>
  320. <command>Channel</command> is used in two contexts, globally when using
  321. &lt;set&gt; and when defining new channels. It sets the name of the
  322. channel.
  323. </para>
  324. </refsect1>
  325. <refsect1>
  326. <title>Default</title>
  327. <para> Unset </para>
  328. </refsect1>
  329. </refentry>
  330. <!-- *** FORMAT *** -->
  331. <refentry id="Format">
  332. <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
  333. <refnamediv>
  334. <refname>Format</refname>
  335. <refpurpose>the logfile format</refpurpose>
  336. </refnamediv>
  337. <refsynopsisdiv><programlisting>
  338. <![CDATA[
  339. <channel="#channel">
  340. Logfile = "channel.log"
  341. Format = "eggdrop"
  342. Maintainer = "John"
  343. </channel>
  344. <set Format="mIRC">
  345. ]]>
  346. </programlisting></refsynopsisdiv>
  347. <refsect1>
  348. <title>Description</title>
  349. <para>
  350. <command>Format</command> is used to define the format of the logfile,
  351. pisg supports a various number of different logfiles, see the FORMATS
  352. file included with the pisg distribution.
  353. </para>
  354. </refsect1>
  355. <refsect1>
  356. <title>Default</title>
  357. <para> mIRC </para>
  358. </refsect1>
  359. </refentry>
  360. <!-- *** NETWORK *** -->
  361. <refentry id="Network">
  362. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  363. <refnamediv>
  364. <refname>Network</refname>
  365. <refpurpose>the IRC network of the channel</refpurpose>
  366. </refnamediv>
  367. <refsynopsisdiv><programlisting>
  368. <![CDATA[
  369. <channel="#channel">
  370. Logfile = "channel.log"
  371. Format = "eggdrop"
  372. Network = "Undernet"
  373. </channel>
  374. <set Network="Quakenet">
  375. ]]>
  376. </programlisting></refsynopsisdiv>
  377. <refsect1>
  378. <title>Description</title>
  379. <para>
  380. <command>Network</command> is used to set the network which the channel
  381. resides on, this name is displayed on the stats page.
  382. </para>
  383. </refsect1>
  384. <refsect1>
  385. <title>Default</title>
  386. <para> SomeIRCNetwork </para>
  387. </refsect1>
  388. </refentry>
  389. <!-- *** OUTPUTFILE *** -->
  390. <refentry id="OutputFile">
  391. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  392. <refnamediv>
  393. <refname>OutputFile</refname>
  394. <refpurpose>name of the generated HTML page</refpurpose>
  395. </refnamediv>
  396. <refsynopsisdiv><programlisting>
  397. <![CDATA[
  398. <channel="#channel">
  399. Logfile = "channel.log"
  400. Format = "eggdrop"
  401. OutputFile = "mychan.html"
  402. </channel>
  403. <set OutputFile="mychan.html">
  404. ]]>
  405. </programlisting></refsynopsisdiv>
  406. <refsect1>
  407. <title>Description</title>
  408. <para>
  409. <command>OutputFile</command> is used to define the name of the
  410. generated statistics page.
  411. </para>
  412. </refsect1>
  413. <refsect1>
  414. <title>Default</title>
  415. <para> index.html </para>
  416. </refsect1>
  417. </refentry>
  418. <!-- *** OUTPUTTAG *** -->
  419. <refentry id="OutputTag">
  420. <refmeta> <refentrytitle>OutputTag</refentrytitle> </refmeta>
  421. <refnamediv>
  422. <refname>OutputTag</refname>
  423. <refpurpose>tag to insert into OutputFile</refpurpose>
  424. </refnamediv>
  425. <refsynopsisdiv><programlisting>
  426. <![CDATA[
  427. <channel="#channel">
  428. LogDir = "logs/"
  429. Format = "eggdrop"
  430. OutputFile = "mychan%t.html"
  431. OutputTag = "-week"
  432. </channel>
  433. <set OutputTag="-week">
  434. ]]>
  435. </programlisting></refsynopsisdiv>
  436. <refsect1>
  437. <title>Description</title>
  438. <para>
  439. <command>OutputTag</command>specifies a string that will replace
  440. occurrences of "%t" in <command>OutputFile</command>. This option is most
  441. useful when used as a command line switch (-t) to pisg in conjunction with
  442. <command>NFiles</command> (-nf). Example:
  443. <programlisting>
  444. <![CDATA[
  445. $ pisg -co pisg.conf
  446. $ pisg -co pisg.conf -nf 8 -t -week
  447. ]]>
  448. </programlisting>
  449. Leaving out the <command>OutputTag</command> settings from the above
  450. pisg.conf snippet, this writes both the full statistics (mychan.html) and
  451. statistics for the last week (mychan-week.html) using the same pisg config
  452. file. (Assuming that there are separate logfiles for each day.)
  453. </para>
  454. </refsect1>
  455. <refsect1>
  456. <title>Default</title>
  457. <para> unset </para>
  458. </refsect1>
  459. </refentry>
  460. <!-- *** LOGFILE *** -->
  461. <refentry id="Logfile">
  462. <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
  463. <refnamediv>
  464. <refname>Logfile</refname>
  465. <refpurpose>name of logfile to parse</refpurpose>
  466. </refnamediv>
  467. <refsynopsisdiv><programlisting>
  468. <![CDATA[
  469. <channel="#channel">
  470. Logfile="/home/foo/eggdrop/logs/mylog.txt"
  471. Format = "eggdrop"
  472. </channel>
  473. <set Logfile="foo.log">
  474. ]]>
  475. </programlisting></refsynopsisdiv>
  476. <refsect1>
  477. <title>Description</title>
  478. <para>
  479. This defines the filename of the logfile to parse for the channel. If
  480. you want to parse a directory full of logfiles, you should use the
  481. <command>LogDir</command> option instead.
  482. </para>
  483. </refsect1>
  484. <refsect1>
  485. <title>Default</title>
  486. <para> unset </para>
  487. </refsect1>
  488. </refentry>
  489. <!-- *** LOGDIR *** -->
  490. <refentry id="LogDir">
  491. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  492. <refnamediv>
  493. <refname>LogDir</refname>
  494. <refpurpose>parse a directory full of logs</refpurpose>
  495. </refnamediv>
  496. <refsynopsisdiv><programlisting>
  497. <![CDATA[
  498. <channel="#channel">
  499. LogDir="/home/foo/eggdrop/logs/"
  500. Format = "eggdrop"
  501. </channel>
  502. <set LogDir="dailylogs/">
  503. ]]>
  504. </programlisting></refsynopsisdiv>
  505. <refsect1>
  506. <title>Description</title>
  507. <para>
  508. When <command>LogDir</command> is defined to valid path to a directory,
  509. then pisg will run through that directory, parse all logfiles in it and
  510. create 1 HTML from it. Useful with for example eggdrop logs.
  511. </para>
  512. </refsect1>
  513. <refsect1>
  514. <title>Default</title>
  515. <para> unset </para>
  516. </refsect1>
  517. </refentry>
  518. <!-- *** NFILES *** -->
  519. <refentry id="NFiles">
  520. <refmeta> <refentrytitle>NFiles</refentrytitle> </refmeta>
  521. <refnamediv>
  522. <refname>NFiles</refname>
  523. <refpurpose>parse only the last files in <command>LogDir</command></refpurpose>
  524. </refnamediv>
  525. <refsynopsisdiv><programlisting>
  526. <![CDATA[
  527. <channel="#channel">
  528. LogDir="/home/foo/eggdrop/logs/"
  529. NFiles="8"
  530. Format="eggdrop"
  531. </channel>
  532. <set NFiles="8">
  533. ]]>
  534. </programlisting></refsynopsisdiv>
  535. <refsect1>
  536. <title>Description</title>
  537. <para>
  538. When <command>NFiles</command> is set to a positive integer, pisg will
  539. process at most that much files from <command>LogDir</command>. Useful to
  540. create statistics that cover the last week or month.
  541. </para>
  542. </refsect1>
  543. <refsect1>
  544. <title>Default</title>
  545. <para> 0 (process all files) </para>
  546. </refsect1>
  547. </refentry>
  548. <!-- *** MAINTAINER *** -->
  549. <refentry id="Maintainer">
  550. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  551. <refnamediv>
  552. <refname>Maintainer</refname>
  553. <refpurpose>name of the maintainer</refpurpose>
  554. </refnamediv>
  555. <refsynopsisdiv><programlisting>
  556. <![CDATA[
  557. <channel="#channel">
  558. Logfile = "channel.log"
  559. Format = "mIRC"
  560. Maintainer = "Benny"
  561. </channel>
  562. <set Maintainer="Benny">
  563. ]]>
  564. </programlisting></refsynopsisdiv>
  565. <refsect1>
  566. <title>Description</title>
  567. <para>
  568. <command>Maintainer</command> is used to define the name of the
  569. maintaner of the statistics page, this can be either the person
  570. generating the stats or the bot/client doing the logging.
  571. The maintainer is displayed in the outputted stats page.
  572. </para>
  573. </refsect1>
  574. <refsect1>
  575. <title>Default</title>
  576. <para> MAINTAINER </para>
  577. </refsect1>
  578. </refentry>
  579. <!-- *** COLORSCHEME *** -->
  580. <refentry id="ColorScheme">
  581. <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
  582. <refnamediv>
  583. <refname>ColorScheme</refname>
  584. <refpurpose>use a different colorscheme for stats page</refpurpose>
  585. </refnamediv>
  586. <refsynopsisdiv><programlisting>
  587. <![CDATA[
  588. <channel="#channel">
  589. Logfile = "channel.log"
  590. ColorScheme = "darkgalaxy"
  591. Maintainer = "John"
  592. </channel>
  593. <set ColorScheme="default">
  594. ]]>
  595. </programlisting></refsynopsisdiv>
  596. <refsect1>
  597. <title>Description</title>
  598. <para>
  599. <command>ColorScheme</command> is used to define the colorscheme used
  600. for the statistics page. Actually it's the CSS file being included.
  601. Available options are: default, darkgalaxy, darkred, justgrey, ocean,
  602. softgreen.
  603. </para>
  604. </refsect1>
  605. <refsect1>
  606. <title>Default</title>
  607. <para> default </para>
  608. </refsect1>
  609. </refentry>
  610. <!-- *** LANG *** -->
  611. <refentry id="Lang">
  612. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  613. <refnamediv>
  614. <refname>Lang</refname>
  615. <refpurpose>define the language / translation to use</refpurpose>
  616. </refnamediv>
  617. <refsynopsisdiv><programlisting>
  618. <![CDATA[
  619. <channel="#channel">
  620. Logfile = "channel.log"
  621. Format = "mIRC"
  622. Lang = "DE"
  623. </channel>
  624. <set Lang="FR">
  625. ]]>
  626. </programlisting></refsynopsisdiv>
  627. <refsect1>
  628. <title>Description</title>
  629. <para>
  630. <command>Lang</command> is used to define the language translation to
  631. use, if the language support is there, the text on the stats page will
  632. be outputted in that language. All supported languages is mentioned in
  633. the lang.txt file with the pisg distribution. Some of the languages
  634. supported is: EN | DE | DK | FR | ES | PL | PT | NO | NL | SE | EE | IT
  635. | HU | SI | FI
  636. </para>
  637. </refsect1>
  638. <refsect1>
  639. <title>Default</title>
  640. <para> EN (English) </para>
  641. </refsect1>
  642. </refentry>
  643. <!-- *** PAGEHEAD *** -->
  644. <refentry id="pagehead">
  645. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  646. <refnamediv>
  647. <refname>PageHead</refname>
  648. <refpurpose>define a file as page header</refpurpose>
  649. </refnamediv>
  650. <refsynopsisdiv><programlisting>
  651. <![CDATA[
  652. <channel="#channel">
  653. Logfile = "channel.log"
  654. Format = "mIRC"
  655. OutputFile = "stats.html"
  656. PageHead = "myheader.txt"
  657. </channel>
  658. <set PageHead="someheader.txt">
  659. ]]>
  660. </programlisting></refsynopsisdiv>
  661. <refsect1>
  662. <title>Description</title>
  663. <para>
  664. <command>PageHead</command> is used to include a file in the stats page,
  665. for example an introduction text, a link to an image or a banner. The
  666. file can hold anything, it will be included raw in the stats page -
  667. so HTML should be preferred. The file will be included in the top of
  668. the page. This option is the opposite of <command>PageFoot</command>.
  669. </para>
  670. </refsect1>
  671. <refsect1>
  672. <title>Default</title>
  673. <para> none </para>
  674. </refsect1>
  675. </refentry>
  676. <!-- *** PAGEFOOT *** -->
  677. <refentry id="PageFoot">
  678. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  679. <refnamediv>
  680. <refname>PageFoot</refname>
  681. <refpurpose>define a file as page footer</refpurpose>
  682. </refnamediv>
  683. <refsynopsisdiv><programlisting>
  684. <![CDATA[
  685. <channel="#channel">
  686. Logfile = "channel.log"
  687. Format = "mIRC"
  688. outputfile = "stats.html"
  689. PageFoot = "myfooter.txt"
  690. </channel>
  691. <set PageFoot="somefooter.txt">
  692. ]]>
  693. </programlisting></refsynopsisdiv>
  694. <refsect1>
  695. <title>Description</title>
  696. <para>
  697. <command>PageFoot</command> is used to include a file in the stats page,
  698. for example an introduction text, a link to an image or a banner. The
  699. file can hold anything, it will be included raw in the stats page -
  700. so HTML should be preferred. The file will be included in the bottom of
  701. the page. This option is the opposite of <command>PageHead</command>.
  702. </para>
  703. </refsect1>
  704. <refsect1>
  705. <title>Default</title>
  706. <para> none </para>
  707. </refsect1>
  708. </refentry>
  709. <!-- *** LogPrefix *** -->
  710. <refentry id="LogPrefix">
  711. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  712. <refnamediv>
  713. <refname>LogPrefix</refname>
  714. <refpurpose>only parse logs LogPrefixed with a userdefined string</refpurpose>
  715. </refnamediv>
  716. <refsynopsisdiv><programlisting>
  717. <![CDATA[
  718. <channel="#channel">
  719. LogDir="/home/foo/eggdrop/logs/"
  720. Format = "eggdrop"
  721. LogPrefix = "logjun"
  722. </channel>
  723. <set LogPrefix="logjanuary">
  724. ]]>
  725. </programlisting></refsynopsisdiv>
  726. <refsect1>
  727. <title>Description</title>
  728. <para>
  729. When using the <command>LogDir</command> option and you only want to use
  730. a slew of the files in it, you can have pisg choose only files which are
  731. prefixed with a special string.
  732. </para>
  733. </refsect1>
  734. <refsect1>
  735. <title>Default</title>
  736. <para> unset </para>
  737. </refsect1>
  738. </refentry>
  739. <!-- *** LOGSUFFIX *** -->
  740. <refentry id="LogSuffix">
  741. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  742. <refnamediv>
  743. <refname>LogSuffix</refname>
  744. <refpurpose>Regex to sort logfiles by format month||day||year</refpurpose>
  745. </refnamediv>
  746. <refsynopsisdiv><programlisting>
  747. <![CDATA[
  748. <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)">
  749. ]]>
  750. </programlisting></refsynopsisdiv>
  751. <refsect1>
  752. <title>Description</title>
  753. <para>
  754. <command>LogSuffix</command> is used to define the suffix of a logfile,
  755. it only works when <command>LogDir</command> is defined. The example in
  756. the synopsis is for the eggdrop bots default foramt.
  757. </para>
  758. </refsect1>
  759. <refsect1>
  760. <title>Default</title>
  761. <para> Unset </para>
  762. </refsect1>
  763. </refentry>
  764. <!-- *** SILENT *** -->
  765. <refentry id="Silent">
  766. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  767. <refnamediv>
  768. <refname>Silent</refname>
  769. <refpurpose>make pisg silent, suppress messages</refpurpose>
  770. </refnamediv>
  771. <refsynopsisdiv><programlisting>
  772. <![CDATA[
  773. <set Silent="1">
  774. ]]>
  775. </programlisting></refsynopsisdiv>
  776. <refsect1>
  777. <title>Description</title>
  778. <para>
  779. This option is useful mainly from commandline when invoking pisg with
  780. <command>--silent 1</command>. But it can also used in the configuration
  781. file. It will suppress all standard output from pisg. Error messages
  782. will still be sent.
  783. </para>
  784. </refsect1>
  785. <refsect1>
  786. <title>Default</title>
  787. <para> 0 (disabled) </para>
  788. </refsect1>
  789. </refentry>
  790. </chapter>
  791. <chapter id="reference-stats">
  792. <title>Options for various statistics features</title>
  793. <!-- *** SHOWACTIVETIMES *** -->
  794. <refentry id="ShowActiveTimes">
  795. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  796. <refnamediv>
  797. <refname>ShowActiveTimes</refname>
  798. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  799. </refnamediv>
  800. <refsynopsisdiv><programlisting>
  801. <![CDATA[
  802. <channel="#channel">
  803. Logfile = "channel.log"
  804. Format = "xchat"
  805. ShowActiveTimes = "0"
  806. </channel>
  807. <set ShowActiveTimes="1">
  808. ]]>
  809. </programlisting></refsynopsisdiv>
  810. <refsect1>
  811. <title>Description</title>
  812. <para>
  813. With this option you can disable the "Most Active Times" section on the
  814. stats page. It will simply disappear when specifying 0.
  815. </para>
  816. </refsect1>
  817. <refsect1>
  818. <title>Default</title>
  819. <para> 1 (enabled) </para>
  820. </refsect1>
  821. </refentry>
  822. <!-- *** SHOWBIGNUMBERS *** -->
  823. <refentry id="ShowBigNumbers">
  824. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  825. <refnamediv>
  826. <refname>ShowBigNumbers</refname>
  827. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  828. </refnamediv>
  829. <refsynopsisdiv><programlisting>
  830. <![CDATA[
  831. <channel="#channel">
  832. Logfile = "channel.log"
  833. Format = "xchat"
  834. ShowBigNumbers = "0"
  835. </channel>
  836. <set ShowBigNumbers="1">
  837. ]]>
  838. </programlisting></refsynopsisdiv>
  839. <refsect1>
  840. <title>Description</title>
  841. <para>
  842. With this option you can disable the "Big Numbers" and "Other
  843. Interesting numbers" sections on the stats page. They will simply
  844. disappear when specifying 0.
  845. </para>
  846. </refsect1>
  847. <refsect1>
  848. <title>Default</title>
  849. <para> 1 (enabled) </para>
  850. </refsect1>
  851. </refentry>
  852. <!-- *** SHOWTOPICS *** -->
  853. <refentry id="ShowTopics">
  854. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  855. <refnamediv>
  856. <refname>ShowTopics</refname>
  857. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  858. </refnamediv>
  859. <refsynopsisdiv><programlisting>
  860. <![CDATA[
  861. <channel="#channel">
  862. Logfile = "channel.log"
  863. Format = "xchat"
  864. ShowTopics = "0"
  865. </channel>
  866. <set ShowTopics="1">
  867. ]]>
  868. </programlisting></refsynopsisdiv>
  869. <refsect1>
  870. <title>Description</title>
  871. <para>
  872. With this option you can disable the "Latest topics" section on the
  873. stats page. It will simply disappear when specifying 0.
  874. </para>
  875. </refsect1>
  876. <refsect1>
  877. <title>Default</title>
  878. <para> 1 (enabled) </para>
  879. </refsect1>
  880. </refentry>
  881. <!-- *** SHOWWPL *** -->
  882. <refentry id="ShowWpl">
  883. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  884. <refnamediv>
  885. <refname>ShowWpl</refname>
  886. <refpurpose>enable/disable "words per line"</refpurpose>
  887. </refnamediv>
  888. <refsynopsisdiv><programlisting>
  889. <![CDATA[
  890. <channel="#channel">
  891. Logfile = "channel.log"
  892. Format = "xchat"
  893. ShowWpl = "0"
  894. </channel>
  895. <set ShowWpl="1">
  896. ]]>
  897. </programlisting></refsynopsisdiv>
  898. <refsect1>
  899. <title>Description</title>
  900. <para>
  901. With this option you can enable the "words per line" coloumn in the
  902. "Most Active Nicks" section. It will add a column describing the average
  903. words per line for a person.
  904. </para>
  905. </refsect1>
  906. <refsect1>
  907. <title>Default</title>
  908. <para> 0 (disabled) </para>
  909. </refsect1>
  910. </refentry>
  911. <!-- *** SHOWCPL *** -->
  912. <refentry id="ShowCpl">
  913. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  914. <refnamediv>
  915. <refname>ShowCpl</refname>
  916. <refpurpose>enable/disable "characters per line"</refpurpose>
  917. </refnamediv>
  918. <refsynopsisdiv><programlisting>
  919. <![CDATA[
  920. <channel="#channel">
  921. Logfile = "channel.log"
  922. Format = "xchat"
  923. ShowCpl = "0"
  924. </channel>
  925. <set ShowCpl="1">
  926. ]]>
  927. </programlisting></refsynopsisdiv>
  928. <refsect1>
  929. <title>Description</title>
  930. <para>
  931. With this option you can enable the "characters per line" coloumn in the
  932. "Most Active Nicks" section. It will add a column describing the average
  933. number of characters per line for a person.
  934. </para>
  935. </refsect1>
  936. <refsect1>
  937. <title>Default</title>
  938. <para> 0 (disabled) </para>
  939. </refsect1>
  940. </refentry>
  941. <!-- *** SHOWWORDS *** -->
  942. <refentry id="ShowWords">
  943. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  944. <refnamediv>
  945. <refname>ShowWords</refname>
  946. <refpurpose>enable/disable "number of words"</refpurpose>
  947. </refnamediv>
  948. <refsynopsisdiv><programlisting>
  949. <![CDATA[
  950. <channel="#channel">
  951. Logfile = "channel.log"
  952. Format = "xchat"
  953. ShowWords = "0"
  954. </channel>
  955. <set ShowWords="1">
  956. ]]>
  957. </programlisting></refsynopsisdiv>
  958. <refsect1>
  959. <title>Description</title>
  960. <para>
  961. The <command>ShowWords</command> option adds a column to the "Most
  962. Active Nicks" list which list the total number of words a user has
  963. typed.
  964. </para>
  965. </refsect1>
  966. <refsect1>
  967. <title>Default</title>
  968. <para> 0 (disabled) </para>
  969. </refsect1>
  970. </refentry>
  971. <!-- *** ShowLastSeen *** -->
  972. <refentry id="ShowLastSeen">
  973. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  974. <refnamediv>
  975. <refname>ShowLastSeen</refname>
  976. <refpurpose>show when a user was last seen on a channel</refpurpose>
  977. </refnamediv>
  978. <refsynopsisdiv><programlisting>
  979. <![CDATA[
  980. <channel="#channel">
  981. Logfile = "channel.log"
  982. Format = "xchat"
  983. ShowLastSeen = "0"
  984. </channel>
  985. <set ShowLastSeen="1">
  986. ]]>
  987. </programlisting></refsynopsisdiv>
  988. <refsect1>
  989. <title>Description</title>
  990. <para>
  991. With this option enabled, a column will be added to the "Most Active
  992. Nicks" section to display when a user was last seen. Eg. "2 days ago".
  993. </para>
  994. </refsect1>
  995. <refsect1>
  996. <title>Default</title>
  997. <para> 0 (disabled) </para>
  998. </refsect1>
  999. </refentry>
  1000. <!-- *** SHOWTIME *** -->
  1001. <refentry id="ShowTime">
  1002. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  1003. <refnamediv>
  1004. <refname>ShowTime</refname>
  1005. <refpurpose>show when a nick was active</refpurpose>
  1006. </refnamediv>
  1007. <refsynopsisdiv><programlisting>
  1008. <![CDATA[
  1009. <channel="#channel">
  1010. Logfile = "channel.log"
  1011. Format = "xchat"
  1012. ShowTime = "0"
  1013. </channel>
  1014. <set ShowTime="1">
  1015. ]]>
  1016. </programlisting></refsynopsisdiv>
  1017. <refsect1>
  1018. <title>Description</title>
  1019. <para>
  1020. The default behaviour is to add a column to the "Most Active Nicks"
  1021. section displaying a fancy timebar to show when a user was active. With
  1022. this option it can be disabled.
  1023. </para>
  1024. </refsect1>
  1025. <refsect1>
  1026. <title>Default</title>
  1027. <para> 1 (enabled) </para>
  1028. </refsect1>
  1029. </refentry>
  1030. <!-- *** SHOWLINETIME *** -->
  1031. <refentry id="ShowLineTime">
  1032. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  1033. <refnamediv>
  1034. <refname>ShowLineTime</refname>
  1035. <refpurpose>mIRCStats like behaviour of timebar</refpurpose>
  1036. </refnamediv>
  1037. <refsynopsisdiv><programlisting>
  1038. <![CDATA[
  1039. <channel="#channel">
  1040. Logfile = "channel.log"
  1041. Format = "bobot"
  1042. ShowLineTime = "0"
  1043. </channel>
  1044. <set ShowLineTime="1">
  1045. ]]>
  1046. </programlisting></refsynopsisdiv>
  1047. <refsect1>
  1048. <title>Description</title>
  1049. <para>
  1050. The default behaviour is to add a column to the "Most Active Nicks"
  1051. section displaying a fancy linetimebar to show when a user was active.
  1052. With this option it can be done the same way as mIRCStats does it; that
  1053. is, by putting that timebar next to the number of lines, in the same
  1054. column.
  1055. </para>
  1056. </refsect1>
  1057. <refsect1>
  1058. <title>Default</title>
  1059. <para> 0 (disabled) </para>
  1060. </refsect1>
  1061. </refentry>
  1062. <!-- *** SHOWWORDTIME *** -->
  1063. <refentry id="ShowWordTime">
  1064. <refmeta> <refentrytitle>ShowWordTime</refentrytitle> </refmeta>
  1065. <refnamediv>
  1066. <refname>ShowWordTime</refname>
  1067. <refpurpose>ShowLineTime like behavior of words column</refpurpose>
  1068. </refnamediv>
  1069. <refsynopsisdiv><programlisting>
  1070. <![CDATA[
  1071. <channel="#channel">
  1072. Logfile = "channel.log"
  1073. Format = "bobot"
  1074. ShowWordTime = "0"
  1075. </channel>
  1076. <set ShowWordTime="1">
  1077. ]]>
  1078. </programlisting></refsynopsisdiv>
  1079. <refsect1>
  1080. <title>Description</title>
  1081. <para>
  1082. The default behaviour is to add a column to the "Most Active Nicks"
  1083. section displaying a fancy linetimebar to show when a user was active.
  1084. With this option it can be done similarly to mIRCStats does it and like
  1085. the ShowLineTime option, but using words instead of lines; that is, by
  1086. putting that timebar next to the number of words, in the same column.
  1087. </para>
  1088. </refsect1>
  1089. <refsect1>
  1090. <title>Default</title>
  1091. <para> 0 (disabled) </para>
  1092. </refsect1>
  1093. </refentry>
  1094. <!-- *** SHOWRANDQUOTE *** -->
  1095. <refentry id="ShowRandQuote">
  1096. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  1097. <refnamediv>
  1098. <refname>ShowRandQuote</refname>
  1099. <refpurpose>enable or disable the random quotes</refpurpose>
  1100. </refnamediv>
  1101. <refsynopsisdiv><programlisting>
  1102. <![CDATA[
  1103. <channel="#channel">
  1104. Logfile = "channel.log"
  1105. Format = "bobot"
  1106. ShowRandQuote = "0"
  1107. </channel>
  1108. <set ShowRandQuote="1">
  1109. ]]>
  1110. </programlisting></refsynopsisdiv>
  1111. <refsect1>
  1112. <title>Description</title>
  1113. <para>
  1114. The default behaviour is to add a column to the "Most Active Nicks"
  1115. section displaying a users random quote. With this option it can be
  1116. disabled.
  1117. </para>
  1118. </refsect1>
  1119. <refsect1>
  1120. <title>Default</title>
  1121. <para> 1 (enabled) </para>
  1122. </refsect1>
  1123. </refentry>
  1124. <!-- *** SHOWLEGEND *** -->
  1125. <refentry id="ShowLegend">
  1126. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  1127. <refnamediv>
  1128. <refname>ShowLegend</refname>
  1129. <refpurpose>enable or disable the legend of the timebars</refpurpose>
  1130. </refnamediv>
  1131. <refsynopsisdiv><programlisting>
  1132. <![CDATA[
  1133. <channel="#channel">
  1134. Logfile = "channel.log"
  1135. Format = "bobot"
  1136. ShowLegend = "0"
  1137. </channel>
  1138. <set ShowLegend="1">
  1139. ]]>
  1140. </programlisting></refsynopsisdiv>
  1141. <refsect1>
  1142. <title>Description</title>
  1143. <para>
  1144. By default, pisg shows a legend below the "Most Active Times" displaying
  1145. what the different colors means. With this option it can be disabled.
  1146. </para>
  1147. </refsect1>
  1148. <refsect1>
  1149. <title>Default</title>
  1150. <para> 1 (enabled) </para>
  1151. </refsect1>
  1152. </refentry>
  1153. <!-- *** SHOWKICKLINE *** -->
  1154. <refentry id="ShowKickLine">
  1155. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  1156. <refnamediv>
  1157. <refname>ShowKickLine</refname>
  1158. <refpurpose>enable or disable the kickline</refpurpose>
  1159. </refnamediv>
  1160. <refsynopsisdiv><programlisting>
  1161. <![CDATA[
  1162. <channel="#channel">
  1163. Logfile = "channel.log"
  1164. Format = "bobot"
  1165. ShowKickLine = "0"
  1166. </channel>
  1167. <set ShowKickLine="1">
  1168. ]]>
  1169. </programlisting></refsynopsisdiv>
  1170. <refsect1>
  1171. <title>Description</title>
  1172. <para>
  1173. By default, pisg shows an example kickline in the "Most kicked"-stats.
  1174. With this option it can be disabled.
  1175. </para>
  1176. </refsect1>
  1177. <refsect1>
  1178. <title>Default</title>
  1179. <para> 1 (enabled) </para>
  1180. </refsect1>
  1181. </refentry>
  1182. <!-- *** SHOWACTIONLINE *** -->
  1183. <refentry id="ShowActionLine">
  1184. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  1185. <refnamediv>
  1186. <refname>ShowActionLine</refname>
  1187. <refpurpose>enable or disable the actionline</refpurpose>
  1188. </refnamediv>
  1189. <refsynopsisdiv><programlisting>
  1190. <![CDATA[
  1191. <channel="#channel">
  1192. Logfile = "channel.log"
  1193. Format = "bobot"
  1194. ShowActionLine = "0"
  1195. </channel>
  1196. <set ShowActionLine="1">
  1197. ]]>
  1198. </programlisting></refsynopsisdiv>
  1199. <refsect1>
  1200. <title>Description</title>
  1201. <para>
  1202. By default, pisg shows an example actionline in the "Most actions"-stats.
  1203. With this option it can be disabled.
  1204. </para>
  1205. </refsect1>
  1206. <refsect1>
  1207. <title>Default</title>
  1208. <para> 1 (enabled) </para>
  1209. </refsect1>
  1210. </refentry>
  1211. <!-- *** SHOWSHOUTLINE *** -->
  1212. <refentry id="ShowShoutLine">
  1213. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1214. <refnamediv>
  1215. <refname>ShowShoutLine</refname>
  1216. <refpurpose>enable or disable the shoutline</refpurpose>
  1217. </refnamediv>
  1218. <refsynopsisdiv><programlisting>
  1219. <![CDATA[
  1220. <channel="#channel">
  1221. Logfile = "channel.log"
  1222. Format = "bobot"
  1223. ShowShoutLine = "0"
  1224. </channel>
  1225. <set ShowShoutLine="1">
  1226. ]]>
  1227. </programlisting></refsynopsisdiv>
  1228. <refsect1>
  1229. <title>Description</title>
  1230. <para>
  1231. By default, pisg shows an example shoutline in the "Most shouting
  1232. people"-stats. With this option it can be disabled.
  1233. </para>
  1234. </refsect1>
  1235. <refsect1>
  1236. <title>Default</title>
  1237. <para> 1 (enabled) </para>
  1238. </refsect1>
  1239. </refentry>
  1240. <!-- *** SHOWFOULLINE *** -->
  1241. <refentry id="ShowFoulLine">
  1242. <refmeta> <refentrytitle>ShowFoulLine</refentrytitle> </refmeta>
  1243. <refnamediv>
  1244. <refname>ShowFoulLine</refname>
  1245. <refpurpose>enable or disable the foulline</refpurpose>
  1246. </refnamediv>
  1247. <refsynopsisdiv><programlisting>
  1248. <![CDATA[
  1249. <channel="#channel">
  1250. Logfile = "channel.log"
  1251. Format = "bobot"
  1252. ShowFoulLine = "0"
  1253. </channel>
  1254. <set ShowFoulLine="1">
  1255. ]]>
  1256. </programlisting></refsynopsisdiv>
  1257. <refsect1>
  1258. <title>Description</title>
  1259. <para>
  1260. By default, pisg doesn't show an example foulline in the "Most
  1261. fouls"-stats. With this option it can be enabled.
  1262. </para>
  1263. </refsect1>
  1264. <refsect1>
  1265. <title>Default</title>
  1266. <para> 0 (disabled) </para>
  1267. </refsect1>
  1268. </refentry>
  1269. <!-- *** SHOWVIOLENTLINES *** -->
  1270. <refentry id="ShowViolentLines">
  1271. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1272. <refnamediv>
  1273. <refname>ShowViolentLines</refname>
  1274. <refpurpose>enable or disable the violentlines</refpurpose>
  1275. </refnamediv>
  1276. <refsynopsisdiv><programlisting>
  1277. <![CDATA[
  1278. <channel="#channel">
  1279. Logfile = "channel.log"
  1280. Format = "bobot"
  1281. ShowViolentLines = "0"
  1282. </channel>
  1283. <set ShowViolentLines="1">
  1284. ]]>
  1285. </programlisting></refsynopsisdiv>
  1286. <refsect1>
  1287. <title>Description</title>
  1288. <para>
  1289. By default, pisg shows example violentlines in the "Most aggresive"
  1290. and "Most attacked"-stats. With this option it can be disabled.
  1291. </para>
  1292. </refsect1>
  1293. <refsect1>
  1294. <title>Default</title>
  1295. <para> 1 (enabled) </para>
  1296. </refsect1>
  1297. </refentry>
  1298. <!-- *** SHOWMUW *** -->
  1299. <refentry id="ShowMuw">
  1300. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1301. <refnamediv>
  1302. <refname>ShowMuw</refname>
  1303. <refpurpose>enable or disable "Most used words"</refpurpose>
  1304. </refnamediv>
  1305. <refsynopsisdiv><programlisting>
  1306. <![CDATA[
  1307. <channel="#channel">
  1308. Logfile = "channel.log"
  1309. Format = "xchat"
  1310. ShowMuw = "0"
  1311. </channel>
  1312. <set ShowMuw="1">
  1313. ]]>
  1314. </programlisting></refsynopsisdiv>
  1315. <refsect1>
  1316. <title>Description</title>
  1317. <para>
  1318. By default, pisg adds an "Most used words" section to the stats page.
  1319. With this option you can disable it from being shown.
  1320. </para>
  1321. </refsect1>
  1322. <refsect1>
  1323. <title>Default</title>
  1324. <para> 1 (enabled) </para>
  1325. </refsect1>
  1326. </refentry>
  1327. <!-- *** SHOWMRN *** -->
  1328. <refentry id="ShowMrn">
  1329. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1330. <refnamediv>
  1331. <refname>ShowMrn</refname>
  1332. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1333. </refnamediv>
  1334. <refsynopsisdiv><programlisting>
  1335. <![CDATA[
  1336. <channel="#channel">
  1337. Logfile = "channel.log"
  1338. Format = "xchat"
  1339. ShowMrn = "0"
  1340. </channel>
  1341. <set ShowMrn="1">
  1342. ]]>
  1343. </programlisting></refsynopsisdiv>
  1344. <refsect1>
  1345. <title>Description</title>
  1346. <para>
  1347. By default, pisg adds an "Most referenced nicks" section to the stats
  1348. page. With this option you can disable it from being shown.
  1349. </para>
  1350. </refsect1>
  1351. <refsect1>
  1352. <title>Default</title>
  1353. <para> 1 (enabled) </para>
  1354. </refsect1>
  1355. </refentry>
  1356. <!-- *** SHOWMRU *** -->
  1357. <refentry id="ShowMru">
  1358. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1359. <refnamediv>
  1360. <refname>ShowMru</refname>
  1361. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1362. </refnamediv>
  1363. <refsynopsisdiv><programlisting>
  1364. <![CDATA[
  1365. <channel="#channel">
  1366. Logfile = "channel.log"
  1367. Format = "xchat"
  1368. ShowMru = "0"
  1369. </channel>
  1370. <set ShowMru="1">
  1371. ]]>
  1372. </programlisting></refsynopsisdiv>
  1373. <refsect1>
  1374. <title>Description</title>
  1375. <para>
  1376. By default, pisg adds an "Most referenced URLs" section to the stats
  1377. page. With this option you can disable it from being shown.
  1378. </para>
  1379. </refsect1>
  1380. <refsect1>
  1381. <title>Default</title>
  1382. <para> 1 (enabled) </para>
  1383. </refsect1>
  1384. </refentry>
  1385. <!-- *** SHOWOPS *** -->
  1386. <refentry id="ShowOps">
  1387. <refmeta> <refentrytitle>ShowOps</refentrytitle> </refmeta>
  1388. <refnamediv>
  1389. <refname>ShowOps</refname>
  1390. <refpurpose>enable or disable op statistics</refpurpose>
  1391. </refnamediv>
  1392. <refsynopsisdiv><programlisting>
  1393. <![CDATA[
  1394. <channel="#channel">
  1395. Logfile = "channel.log"
  1396. Format = "xchat"
  1397. ShowOps = "0"
  1398. </channel>
  1399. <set ShowOps="0">
  1400. ]]>
  1401. </programlisting></refsynopsisdiv>
  1402. <refsect1>
  1403. <title>Description</title>
  1404. <para>
  1405. By default, pisg has op statistics in the "Most interesting numbers"
  1406. section. Here you can disable the feature, it's useful if you don't feel
  1407. that the information is of any value, or your logformat doesn't support
  1408. ops/deops.
  1409. </para>
  1410. </refsect1>
  1411. <refsect1>
  1412. <title>Default</title>
  1413. <para> 1 (enabled) </para>
  1414. </refsect1>
  1415. </refentry>
  1416. <!-- *** SHOWVOICES *** -->
  1417. <refentry id="ShowVoices">
  1418. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1419. <refnamediv>
  1420. <refname>ShowVoices</refname>
  1421. <refpurpose>enable or disable voice statistics</refpurpose>
  1422. </refnamediv>
  1423. <refsynopsisdiv><programlisting>
  1424. <![CDATA[
  1425. <channel="#channel">
  1426. Logfile = "channel.log"
  1427. Format = "xchat"
  1428. ShowVoices = "0"
  1429. </channel>
  1430. <set ShowVoices="1">
  1431. ]]>
  1432. </programlisting></refsynopsisdiv>
  1433. <refsect1>
  1434. <title>Description</title>
  1435. <para>
  1436. By default, pisg doesn't have voice statistics like it has op
  1437. statistics. Enabling this option will add a section to the "Most
  1438. interesting numbers" displaying who got most voices.
  1439. </para>
  1440. </refsect1>
  1441. <refsect1>
  1442. <title>Default</title>
  1443. <para> 0 (disabled) </para>
  1444. </refsect1>
  1445. </refentry>
  1446. <!-- *** SHOWHALFOPS *** -->
  1447. <refentry id="ShowHalfops">
  1448. <refmeta> <refentrytitle>ShowHalfops</refentrytitle> </refmeta>
  1449. <refnamediv>
  1450. <refname>ShowHalfops</refname>
  1451. <refpurpose>enable or disable halfop statistics</refpurpose>
  1452. </refnamediv>
  1453. <refsynopsisdiv><programlisting>
  1454. <![CDATA[
  1455. <channel="#channel">
  1456. Logfile = "channel.log"
  1457. Format = "xchat"
  1458. ShowHalfops = "0"
  1459. </channel>
  1460. <set ShowHalfops="1">
  1461. ]]>
  1462. </programlisting></refsynopsisdiv>
  1463. <refsect1>
  1464. <title>Description</title>
  1465. <para>
  1466. By default, pisg doesn't have halfop statistics (+h on some servers)
  1467. like it has op statistics. Enabling this option will add a section to
  1468. the "Most interesting numbers" displaying who gave most half-ops.
  1469. </para>
  1470. </refsect1>
  1471. <refsect1>
  1472. <title>Default</title>
  1473. <para> 0 (disabled) </para>
  1474. </refsect1>
  1475. </refentry>
  1476. <!-- *** SHOWMOSTNICKS *** -->
  1477. <refentry id="ShowMostNicks">
  1478. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1479. <refnamediv>
  1480. <refname>ShowMostNicks</refname>
  1481. <refpurpose>show who changed nick most often</refpurpose>
  1482. </refnamediv>
  1483. <refsynopsisdiv><programlisting>
  1484. <![CDATA[
  1485. <channel="#channel">
  1486. Logfile = "channel.log"
  1487. Format = "xchat"
  1488. ShowMostNicks = "0"
  1489. </channel>
  1490. <set ShowMostNicks="1">
  1491. ]]>
  1492. </programlisting></refsynopsisdiv>
  1493. <refsect1>
  1494. <title>Description</title>
  1495. <para>
  1496. By enabling this option, pisg will add a section to the stats showing
  1497. who had the most nicks, and what the nicks were. This option only works
  1498. properly when <command>NickTracking</command> is enabled.
  1499. </para>
  1500. </refsect1>
  1501. <refsect1>
  1502. <title>Default</title>
  1503. <para> 0 (disabled) </para>
  1504. </refsect1>
  1505. </refentry>
  1506. <!-- *** SHOWMOSTACTIVEBYHOUR *** -->
  1507. <refentry id="ShowMostActiveByHour">
  1508. <refmeta> <refentrytitle>ShowMostActiveByHour</refentrytitle> </refmeta>
  1509. <refnamediv>
  1510. <refname>ShowMostActiveByHour</refname>
  1511. <refpurpose>show most active nicks by hour</refpurpose>
  1512. </refnamediv>
  1513. <refsynopsisdiv><programlisting>
  1514. <![CDATA[
  1515. <channel="#channel">
  1516. Logfile = "channel.log"
  1517. Format = "xchat"
  1518. ShowMostActiveByHour = "0"
  1519. </channel>
  1520. <set ShowMostActiveByHour="1">
  1521. ]]>
  1522. </programlisting></refsynopsisdiv>
  1523. <refsect1>
  1524. <title>Description</title>
  1525. <para>
  1526. By enabling this option, pisg will add a section to the stats showing
  1527. "Most Active Nicks By Hour" - also look at the
  1528. <command>ShowMostActiveByHourGraph</command> and
  1529. <command>ActiveNicksByHour</command> settings.
  1530. </para>
  1531. </refsect1>
  1532. <refsect1>
  1533. <title>Default</title>
  1534. <para> 0 (disabled) </para>
  1535. </refsect1>
  1536. </refentry>
  1537. <!-- *** SHOWONLYTOP *** -->
  1538. <refentry id="ShowOnlyTop">
  1539. <refmeta> <refentrytitle>ShowOnlyTop</refentrytitle> </refmeta>
  1540. <refnamediv>
  1541. <refname>ShowOnlyTop</refname>
  1542. <refpurpose>only count stats for top talkers, ignore less-active users</refpurpose>
  1543. </refnamediv>
  1544. <refsynopsisdiv><programlisting>
  1545. <![CDATA[
  1546. <channel="#channel">
  1547. Logfile = "channel.log"
  1548. Format = "xchat"
  1549. ShowOnlyTop = "1"
  1550. </channel>
  1551. <set ShowOnlyTop="1">
  1552. ]]>
  1553. </programlisting></refsynopsisdiv>
  1554. <refsect1>
  1555. <title>Description</title>
  1556. <para>
  1557. By enabling this option, stats in the "Big Numbers" and "Interesting
  1558. Numbers" section will only be counted for users who were the most
  1559. active. E.g. users who appear in the "Most Active Nicks" section, as
  1560. respected by the ActiveNicks and ActiveNicks2 options.
  1561. </para>
  1562. </refsect1>
  1563. <refsect1>
  1564. <title>Default</title>
  1565. <para> 0 (disabled) </para>
  1566. </refsect1>
  1567. </refentry>
  1568. <!-- *** SHOWMOSTACTIVEBYHOURGRAPH *** -->
  1569. <refentry id="ShowMostActiveByHourGraph">
  1570. <refmeta> <refentrytitle>ShowMostActiveByHourGraph</refentrytitle> </refmeta>
  1571. <refnamediv>
  1572. <refname>ShowMostActiveByHourGraph</refname>
  1573. <refpurpose>show graphs in most active nicks by hour</refpurpose>
  1574. </refnamediv>
  1575. <refsynopsisdiv><programlisting>
  1576. <![CDATA[
  1577. <channel="#channel">
  1578. Logfile = "channel.log"
  1579. Format = "xchat"
  1580. ShowMostActiveByHourGraph = "0"
  1581. </channel>
  1582. <set ShowMostActiveByHour="1">
  1583. <set ShowMostActiveByHourGraph="1">
  1584. ]]>
  1585. </programlisting></refsynopsisdiv>
  1586. <refsect1>
  1587. <title>Description</title>
  1588. <para>
  1589. By enabling this option and the <command>ShowMostActiveByHour</command>
  1590. option, pisg will show graphs in the "Most Active Nicks By Hour"
  1591. section.
  1592. </para>
  1593. </refsect1>
  1594. <refsect1>
  1595. <title>Default</title>
  1596. <para> 0 (disabled) </para>
  1597. </refsect1>
  1598. </refentry>
  1599. <!-- *** IGNOREWORDS *** -->
  1600. <refentry id="IgnoreWords">
  1601. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  1602. <refnamediv>
  1603. <refname>IgnoreWords</refname>
  1604. <refpurpose>ignore specified words</refpurpose>
  1605. </refnamediv>
  1606. <refsynopsisdiv><programlisting>
  1607. <![CDATA[
  1608. <set IgnoreWords="you me">
  1609. ]]>
  1610. </programlisting></refsynopsisdiv>
  1611. <refsect1>
  1612. <title>Description</title>
  1613. <para>
  1614. Sometimes words in the "most used words" appears which you don't want to
  1615. see, with this option you can ignore these words. It also applies to the
  1616. "most referenced nicks" section. It's a space seperated list of words.
  1617. Can not be used in a channel-only context.
  1618. </para>
  1619. </refsect1>
  1620. <refsect1>
  1621. <title>Default</title>
  1622. <para> unset </para>
  1623. </refsect1>
  1624. </refentry>
  1625. <!-- *** NOIGNOREDQUOTES *** -->
  1626. <refentry id="NoIgnoredQuotes">
  1627. <refmeta> <refentrytitle>NoIgnoredQuotes</refentrytitle> </refmeta>
  1628. <refnamediv>
  1629. <refname>NoIgnoredQuotes</refname>
  1630. <refpurpose>Control random quote output</refpurpose>
  1631. </refnamediv>
  1632. <refsynopsisdiv><programlisting>
  1633. <![CDATA[
  1634. <set NoIgnoredQuotes="1">
  1635. ]]>
  1636. </programlisting></refsynopsisdiv>
  1637. <refsect1>
  1638. <title>Description</title>
  1639. <para>
  1640. When set to "1", pisg will not output quotes containing ignored words.
  1641. Pisg will output a blank line after trying 20 random quotes if all 20 random quotes were ignored.
  1642. </para>
  1643. </refsect1>
  1644. <refsect1>
  1645. <title>Default</title>
  1646. <para> 0 </para>
  1647. </refsect1>
  1648. </refentry>
  1649. <!-- *** FOULWORDS *** -->
  1650. <refentry id="FoulWords">
  1651. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  1652. <refnamediv>
  1653. <refname>FoulWords</refname>
  1654. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  1655. </refnamediv>
  1656. <refsynopsisdiv><programlisting>
  1657. <![CDATA[
  1658. <set FoulWords="ass fuck bitch">
  1659. ]]>
  1660. </programlisting></refsynopsisdiv>
  1661. <refsect1>
  1662. <title>Description</title>
  1663. <para>
  1664. There is a section in the "Most interesting numbers" which tells who had
  1665. a "dirty mouth" - here you can define which words are considered being
  1666. bad/foul. It is a space seperated list of words.
  1667. Can not be used in a channel-only context.
  1668. </para>
  1669. </refsect1>
  1670. <refsect1>
  1671. <title>Default</title>
  1672. <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
  1673. </refsect1>
  1674. </refentry>
  1675. <!-- *** VIOLENTWORDS *** -->
  1676. <refentry id="ViolentWords">
  1677. <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
  1678. <refnamediv>
  1679. <refname>ViolentWords</refname>
  1680. <refpurpose>specify words considered to be aggressive/violent</refpurpose>
  1681. </refnamediv>
  1682. <refsynopsisdiv><programlisting>
  1683. <![CDATA[
  1684. <set ViolentWords="slaps beats kick">
  1685. ]]>
  1686. </programlisting></refsynopsisdiv>
  1687. <refsect1>
  1688. <title>Description</title>
  1689. <para>
  1690. There is a section in the "Most interesting numbers" which tells who is
  1691. most "aggressive" - here you can define which words are considered being
  1692. "violent". It is a space seperated list of words. Can not be used in a
  1693. channel-only context.
  1694. </para>
  1695. </refsect1>
  1696. <refsect1>
  1697. <title>Default</title>
  1698. <para> slaps beats smacks </para>
  1699. </refsect1>
  1700. </refentry>
  1701. <!-- *** MinQuote *** -->
  1702. <refentry id="MinQuote">
  1703. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  1704. <refnamediv>
  1705. <refname>MinQuote</refname>
  1706. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  1707. </refnamediv>
  1708. <refsynopsisdiv><programlisting>
  1709. <![CDATA[
  1710. <channel="#channel">
  1711. Logfile = "channel.log"
  1712. Format = "xchat"
  1713. MinQuote = "10"
  1714. </channel>
  1715. <set MinQuote="5">
  1716. ]]>
  1717. </programlisting></refsynopsisdiv>
  1718. <refsect1>
  1719. <title>Description</title>
  1720. <para>
  1721. The random quotes displayed in the "Most Active Nicks" section has a
  1722. certain range specified. With this option you can change the minimum
  1723. number of letters required for a random quote. Also see the
  1724. <command>maxquote</command> option.
  1725. </para>
  1726. </refsect1>
  1727. <refsect1>
  1728. <title>Default</title>
  1729. <para> 25 </para>
  1730. </refsect1>
  1731. </refentry>
  1732. <!-- *** MaxQuote *** -->
  1733. <refentry id="MaxQuote">
  1734. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  1735. <refnamediv>
  1736. <refname>MaxQuote</refname>
  1737. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  1738. </refnamediv>
  1739. <refsynopsisdiv><programlisting>
  1740. <![CDATA[
  1741. <channel="#channel">
  1742. Logfile = "channel.log"
  1743. Format = "xchat"
  1744. MaxQuote = "70"
  1745. </channel>
  1746. <set MaxQuote="100">
  1747. ]]>
  1748. </programlisting></refsynopsisdiv>
  1749. <refsect1>
  1750. <title>Description</title>
  1751. <para>
  1752. The random quotes displayed in the "Most Active Nicks" section has a
  1753. certain range specified. With this option you can change the maximum
  1754. number of letters required for a random quote. Also see the
  1755. <command>minquote</command> option.
  1756. </para>
  1757. </refsect1>
  1758. <refsect1>
  1759. <title>Default</title>
  1760. <para> 65 </para>
  1761. </refsect1>
  1762. </refentry>
  1763. <!-- *** WORDLENGTH *** -->
  1764. <refentry id="WordLength">
  1765. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  1766. <refnamediv>
  1767. <refname>WordLength</refname>
  1768. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  1769. </refnamediv>
  1770. <refsynopsisdiv><programlisting>
  1771. <![CDATA[
  1772. <channel="#channel">
  1773. Logfile = "channel.log"
  1774. Format = "xchat"
  1775. WordLength = "10"
  1776. </channel>
  1777. <set WordLength="2">
  1778. ]]>
  1779. </programlisting></refsynopsisdiv>
  1780. <refsect1>
  1781. <title>Description</title>
  1782. <para>
  1783. The "Most Used Words" section on the stats page display the most used
  1784. words. The default is that a word only appears if it is longer than 5
  1785. characters. With this option you can change that minimum.
  1786. </para>
  1787. </refsect1>
  1788. <refsect1>
  1789. <title>Default</title>
  1790. <para> 5 </para>
  1791. </refsect1>
  1792. </refentry>
  1793. <!-- *** QUOTEWIDTH *** -->
  1794. <refentry id="QuoteWidth">
  1795. <refmeta> <refentrytitle>QuoteWidth</refentrytitle> </refmeta>
  1796. <refnamediv>
  1797. <refname>QuoteWidth</refname>
  1798. <refpurpose>Maximum allowed length of a "word" with no spaces</refpurpose>
  1799. </refnamediv>
  1800. <refsynopsisdiv><programlisting>
  1801. <![CDATA[
  1802. <channel="#channel">
  1803. Logfile = "channel.log"
  1804. Format = "xchat"
  1805. QuoteWidth = "48"
  1806. </channel>
  1807. <set QuoteWidth="48">
  1808. ]]>
  1809. </programlisting></refsynopsisdiv>
  1810. <refsect1>
  1811. <title>Description</title>
  1812. <para>
  1813. Pisg will automaticaly insert a space in words that have a length
  1814. over the amount quotewidth is set to. When used in breaking up
  1815. URL's it will insert a space in the displayed URL, but not in the
  1816. actual URL referenced by the HREF.
  1817. </para>
  1818. </refsect1>
  1819. <refsect1>
  1820. <title>Default</title>
  1821. <para> 80</para>
  1822. </refsect1>
  1823. </refentry>
  1824. <!-- *** ACTIVENICKS *** -->
  1825. <refentry id="ActiveNicks">
  1826. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  1827. <refnamediv>
  1828. <refname>ActiveNicks</refname>
  1829. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  1830. </refnamediv>
  1831. <refsynopsisdiv><programlisting>
  1832. <![CDATA[
  1833. <channel="#channel">
  1834. Logfile = "channel.log"
  1835. Format = "mIRC"
  1836. ActiveNicks = "50"
  1837. </channel>
  1838. <set ActiveNicks="10">
  1839. ]]>
  1840. </programlisting></refsynopsisdiv>
  1841. <refsect1>
  1842. <title>Description</title>
  1843. <para>
  1844. With this option you can define how many nicks you want to appear in the
  1845. "Most Active Nicks" section on the stats page.
  1846. </para>
  1847. </refsect1>
  1848. <refsect1>
  1849. <title>Default</title>
  1850. <para> 25 </para>
  1851. </refsect1>
  1852. </refentry>
  1853. <!-- *** ACTIVENICKS2 *** -->
  1854. <refentry id="ActiveNicks2">
  1855. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  1856. <refnamediv>
  1857. <refname>ActiveNicks2</refname>
  1858. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  1859. </refnamediv>
  1860. <refsynopsisdiv><programlisting>
  1861. <![CDATA[
  1862. <channel="#channel">
  1863. Logfile = "channel.log"
  1864. Format = "mIRC"
  1865. ActiveNicks2 = "25"
  1866. </channel>
  1867. <set ActiveNicks2="10">
  1868. ]]>
  1869. </programlisting></refsynopsisdiv>
  1870. <refsect1>
  1871. <title>Description</title>
  1872. <para>
  1873. With this option you can define how many nicks you want to appear in the
  1874. "These didn't make it" section on the stats page.
  1875. </para>
  1876. </refsect1>
  1877. <refsect1>
  1878. <title>Default</title>
  1879. <para> 30 </para>
  1880. </refsect1>
  1881. </refentry>
  1882. <!-- *** ACTIVENICKSBYHOUR *** -->
  1883. <refentry id="ActiveNicksByHour">
  1884. <refmeta> <refentrytitle>ActiveNicksByHour</refentrytitle> </refmeta>
  1885. <refnamediv>
  1886. <refname>ActiveNicksByHour</refname>
  1887. <refpurpose>number of nicks to show in "Most Active Nicks By Hour"</refpurpose>
  1888. </refnamediv>
  1889. <refsynopsisdiv><programlisting>
  1890. <![CDATA[
  1891. <channel="#channel">
  1892. Logfile = "channel.log"
  1893. Format = "mIRC"
  1894. ActiveNicksByHour = "25"
  1895. </channel>
  1896. <set ActiveNicksByHour="10">
  1897. ]]>
  1898. </programlisting></refsynopsisdiv>
  1899. <refsect1>
  1900. <title>Description</title>
  1901. <para>
  1902. With this option you can define how many nicks you want to appear in the
  1903. "Most Active Nicks By Hour" section on the stats page.
  1904. </para>
  1905. </refsect1>
  1906. <refsect1>
  1907. <title>Default</title>
  1908. <para> 10 </para>
  1909. </refsect1>
  1910. </refentry>
  1911. <!-- *** MOSTNICKSHISTORY *** -->
  1912. <refentry id="MostNicksHistory">
  1913. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  1914. <refnamediv>
  1915. <refname>MostNicksHistory</refname>
  1916. <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
  1917. </refnamediv>
  1918. <refsynopsisdiv><programlisting>
  1919. <![CDATA[
  1920. <channel="#channel">
  1921. Logfile = "channel.log"
  1922. Format = "mIRC"
  1923. MostNicksHistory = "2"
  1924. </channel>
  1925. <set MostNicksHistory="10">
  1926. ]]>
  1927. </programlisting></refsynopsisdiv>
  1928. <refsect1>
  1929. <title>Description</title>
  1930. <para>
  1931. With this option you can define how many nicks you want to appear in
  1932. the "Most used nicks" section.
  1933. </para>
  1934. </refsect1>
  1935. <refsect1>
  1936. <title>Default</title>
  1937. <para> 5 </para>
  1938. </refsect1>
  1939. </refentry>
  1940. <!-- *** MOSTNICKSVERBOSE *** -->
  1941. <refentry id="MostNicksVerbose">
  1942. <refmeta> <refentrytitle>MostNicksVerbose</refentrytitle> </refmeta>
  1943. <refnamediv>
  1944. <refname>MostNicksVerbose</refname>
  1945. <refpurpose>show nicks used in "most nicks"</refpurpose>
  1946. </refnamediv>
  1947. <refsynopsisdiv><programlisting>
  1948. <![CDATA[
  1949. <channel="#channel">
  1950. Logfile = "channel.log"
  1951. Format = "mIRC"
  1952. MostNicksVerbose = "0"
  1953. </channel>
  1954. <set MostNicksVerbose="1">
  1955. ]]>
  1956. </programlisting></refsynopsisdiv>
  1957. <refsect1>
  1958. <title>Description</title>
  1959. <para>
  1960. By disabling this option you can stop pisg from displaying all the nicks
  1961. a user has had in the "Most used nicks" section.
  1962. </para>
  1963. </refsect1>
  1964. <refsect1>
  1965. <title>Default</title>
  1966. <para> 1 </para>
  1967. </refsect1>
  1968. </refentry>
  1969. <!-- *** TOPICHISTORY *** -->
  1970. <refentry id="TopicHistory">
  1971. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  1972. <refnamediv>
  1973. <refname>TopicHistory</refname>
  1974. <refpurpose>maximum number of topics to show</refpurpose>
  1975. </refnamediv>
  1976. <refsynopsisdiv><programlisting>
  1977. <![CDATA[
  1978. <channel="#channel">
  1979. Logfile = "channel.log"
  1980. Format = "mIRC"
  1981. TopicHistory = "2"
  1982. </channel>
  1983. <set TopicHistory="10">
  1984. ]]>
  1985. </programlisting></refsynopsisdiv>
  1986. <refsect1>
  1987. <title>Description</title>
  1988. <para>
  1989. With this option you can define how many topics you want to appear in
  1990. the "Latest topics" section.
  1991. </para>
  1992. </refsect1>
  1993. <refsect1>
  1994. <title>Default</title>
  1995. <para> 3 </para>
  1996. </refsect1>
  1997. </refentry>
  1998. <!-- *** URLHISTORY *** -->
  1999. <refentry id="UrlHistory">
  2000. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  2001. <refnamediv>
  2002. <refname>UrlHistory</refname>
  2003. <refpurpose>maximum number of urls to show</refpurpose>
  2004. </refnamediv>
  2005. <refsynopsisdiv><programlisting>
  2006. <![CDATA[
  2007. <channel="#channel">
  2008. Logfile = "channel.log"
  2009. Format = "mIRC"
  2010. UrlHistory = "2"
  2011. </channel>
  2012. <set UrlHistory="10">
  2013. ]]>
  2014. </programlisting></refsynopsisdiv>
  2015. <refsect1>
  2016. <title>Description</title>
  2017. <para>
  2018. With this option you can define how many urls you want to appear in
  2019. the "Most referenced URLs" section.
  2020. </para>
  2021. </refsect1>
  2022. <refsect1>
  2023. <title>Default</title>
  2024. <para> 5 </para>
  2025. </refsect1>
  2026. </refentry>
  2027. <!-- *** WORDHISTORY *** -->
  2028. <refentry id="WordHistory">
  2029. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  2030. <refnamediv>
  2031. <refname>WordHistory</refname>
  2032. <refpurpose>maximum number of words to show</refpurpose>
  2033. </refnamediv>
  2034. <refsynopsisdiv><programlisting>
  2035. <![CDATA[
  2036. <channel="#channel">
  2037. Logfile = "channel.log"
  2038. Format = "mIRC"
  2039. WordHistory = "5"
  2040. </channel>
  2041. <set WordHistory="15">
  2042. ]]>
  2043. </programlisting></refsynopsisdiv>
  2044. <refsect1>
  2045. <title>Description</title>
  2046. <para>
  2047. With this option you can define how many words you want to appear in
  2048. the "Most used words" section.
  2049. </para>
  2050. </refsect1>
  2051. <refsect1>
  2052. <title>Default</title>
  2053. <para> 10 </para>
  2054. </refsect1>
  2055. </refentry>
  2056. <!-- *** NICKHISTORY *** -->
  2057. <refentry id="NickHistory">
  2058. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  2059. <refnamediv>
  2060. <refname>NickHistory</refname>
  2061. <refpurpose>maximum number of nicks to show</refpurpose>
  2062. </refnamediv>
  2063. <refsynopsisdiv><programlisting>
  2064. <![CDATA[
  2065. <channel="#channel">
  2066. logfile = "channel.log"
  2067. format = "mIRC"
  2068. NickHistory = "3"
  2069. </channel>
  2070. <set NickHistory="15">
  2071. ]]>
  2072. </programlisting></refsynopsisdiv>
  2073. <refsect1>
  2074. <title>Description</title>
  2075. <para>
  2076. With this option you can define how many nicks you want to appear in
  2077. the "Most referenced nicks" section.
  2078. </para>
  2079. </refsect1>
  2080. <refsect1>
  2081. <title>Default</title>
  2082. <para> 5 </para>
  2083. </refsect1>
  2084. </refentry>
  2085. <!-- *** NICKTRACKING *** -->
  2086. <refentry id="NickTracking">
  2087. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  2088. <refnamediv>
  2089. <refname>NickTracking</refname>
  2090. <refpurpose>track nickchanges and create aliases</refpurpose>
  2091. </refnamediv>
  2092. <refsynopsisdiv><programlisting>
  2093. <![CDATA[
  2094. <set NickTracking="1">
  2095. ]]>
  2096. </programlisting></refsynopsisdiv>
  2097. <refsect1>
  2098. <title>Description</title>
  2099. <para>
  2100. Enabling this option will track nickchanges as well as it can. It will
  2101. then automatically create aliases for these nicks.
  2102. </para>
  2103. </refsect1>
  2104. <refsect1>
  2105. <title>Default</title>
  2106. <para> 0 (disabled) </para>
  2107. </refsect1>
  2108. </refentry>
  2109. <!-- *** SORTBYWORDS *** -->
  2110. <refentry id="SortByWords">
  2111. <refmeta> <refentrytitle>SortByWords</refentrytitle> </refmeta>
  2112. <refnamediv>
  2113. <refname>SortByWords</refname>
  2114. <refpurpose>Sort "most active nicks" by words</refpurpose>
  2115. </refnamediv>
  2116. <refsynopsisdiv><programlisting>
  2117. <![CDATA[
  2118. <channel="#channel">
  2119. logfile = "channel.log"
  2120. format = "xchat"
  2121. SortByWords = "0"
  2122. </channel>
  2123. <set SortByWords="1">
  2124. ]]>
  2125. </programlisting></refsynopsisdiv>
  2126. <refsect1>
  2127. <title>Description</title>
  2128. <para>
  2129. The default for the "Most Active Nicks" section - is to sort users by
  2130. lines. Enabling this will sort it by words instead.
  2131. </para>
  2132. </refsect1>
  2133. <refsect1>
  2134. <title>Default</title>
  2135. <para> 0 (disabled) </para>
  2136. </refsect1>
  2137. </refentry>
  2138. <chapter id="reference-pictures">
  2139. <title>Picture options</title>
  2140. <!-- *** PICLOCATION *** -->
  2141. <refentry id="PicLocation">
  2142. <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
  2143. <refnamediv>
  2144. <refname>PicLocation</refname>
  2145. <refpurpose>path to images on stats page</refpurpose>
  2146. </refnamediv>
  2147. <refsynopsisdiv><programlisting>
  2148. <![CDATA[
  2149. <set PicLocation="userpics/">
  2150. ]]>
  2151. </programlisting></refsynopsisdiv>
  2152. <refsect1>
  2153. <title>Description</title>
  2154. <para>
  2155. The location to the pictures used on the stats page - not the user
  2156. pictures but the different bars in "Most Active Times".
  2157. </para>
  2158. </refsect1>
  2159. <refsect1>
  2160. <title>Default</title>
  2161. <para> Current directory </para>
  2162. </refsect1>
  2163. <!-- *** IMAGEPATH *** -->
  2164. <refentry id="ImagePath">
  2165. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  2166. <refnamediv>
  2167. <refname>ImagePath</refname>
  2168. <refpurpose>path to user pictures</refpurpose>
  2169. </refnamediv>
  2170. <refsynopsisdiv><programlisting>
  2171. <![CDATA[
  2172. <channel="#channel">
  2173. Logfile = "channel.log"
  2174. Format = "mIRC"
  2175. ImagePath = "userpics/"
  2176. </channel>
  2177. <set ImagePath="alt_users/">
  2178. ]]>
  2179. </programlisting></refsynopsisdiv>
  2180. <refsect1>
  2181. <title>Description</title>
  2182. <para>
  2183. <command>ImagePath</command> defines an alternative path to where user
  2184. pictures is located. The default is that user pictures is located in the
  2185. same directory as the HTML page.
  2186. </para>
  2187. </refsect1>
  2188. <refsect1>
  2189. <title>Default</title>
  2190. <para> current directory </para>
  2191. </refsect1>
  2192. </refentry>
  2193. <!-- *** DEFAULTPIC *** -->
  2194. <refentry id="DefaultPic">
  2195. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  2196. <refnamediv>
  2197. <refname>DefaultPic</refname>
  2198. <refpurpose>use a default user picture</refpurpose>
  2199. </refnamediv>
  2200. <refsynopsisdiv><programlisting>
  2201. <![CDATA[
  2202. <channel="#channel">
  2203. Logfile = "channel.log"
  2204. Format = "mIRC"
  2205. DefaultPic = "not_available.jpg"
  2206. </channel>
  2207. <set DefaultPic="unknown.gif">
  2208. ]]>
  2209. </programlisting></refsynopsisdiv>
  2210. <refsect1>
  2211. <title>Description</title>
  2212. <para>
  2213. <command>DefaultPic</command> defines a picture to be displayed for all
  2214. users which have no other picture defined in the <command>user</command>
  2215. element. This is good for showing "No picture available" or something.
  2216. </para>
  2217. </refsect1>
  2218. <refsect1>
  2219. <title>Default</title>
  2220. <para> unset </para>
  2221. </refsect1>
  2222. </refentry>
  2223. <!-- *** PICWIDTH *** -->
  2224. <refentry id="PicWidth">
  2225. <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
  2226. <refnamediv>
  2227. <refname>PicWidth</refname>
  2228. <refpurpose>define a standard width for user pictures</refpurpose>
  2229. </refnamediv>
  2230. <refsynopsisdiv><programlisting>
  2231. <![CDATA[
  2232. <channel="#channel">
  2233. Logfile = "channel.log"
  2234. Format = "mIRC"
  2235. PicWidth = "not_available.jpg"
  2236. </channel>
  2237. <set PicWidth="unknown.gif">
  2238. ]]>
  2239. </programlisting></refsynopsisdiv>
  2240. <refsect1>
  2241. <title>Description</title>
  2242. <para>
  2243. <command>PicWidth</command> defines the standard width for user
  2244. pictures. Setting the 'width' attribute of image-elements on the
  2245. outputted stats page. See also <command>PicHeight</command>
  2246. </para>
  2247. </refsect1>
  2248. <refsect1>
  2249. <title>Default</title>
  2250. <para> unset </para>
  2251. </refsect1>
  2252. </refentry>
  2253. <!-- *** PICHEIGHT *** -->
  2254. <refentry id="PicHeight">
  2255. <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
  2256. <refnamediv>
  2257. <refname>PicHeight</refname>
  2258. <refpurpose>define a standard height for user pictures</refpurpose>
  2259. </refnamediv>
  2260. <refsynopsisdiv><programlisting>
  2261. <![CDATA[
  2262. <channel="#channel">
  2263. Logfile = "channel.log"
  2264. Format = "mIRC"
  2265. PicHeight = "not_available.jpg"
  2266. </channel>
  2267. <set PicHeight="unknown.gif">
  2268. ]]>
  2269. </programlisting></refsynopsisdiv>
  2270. <refsect1>
  2271. <title>Description</title>
  2272. <para>
  2273. <command>PicHeight</command> defines the standard height for user
  2274. pictures. Setting the 'height' attribute of image-elements on the
  2275. outputted stats page. See also <command>PicWidth</command>
  2276. </para>
  2277. </refsect1>
  2278. <refsect1>
  2279. <title>Default</title>
  2280. <para> unset </para>
  2281. </refsect1>
  2282. </refentry>
  2283. </chapter>
  2284. <chapter id="reference-misc">
  2285. <title>Misc options</title>
  2286. <!-- *** CHARSET *** -->
  2287. <refentry id="Charset">
  2288. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  2289. <refnamediv>
  2290. <refname>Charset</refname>
  2291. <refpurpose>Charset to use for stats page</refpurpose>
  2292. </refnamediv>
  2293. <refsynopsisdiv><programlisting>
  2294. <![CDATA[
  2295. <channel="#channel">
  2296. Logfile = "channel.log"
  2297. Format = "xchat"
  2298. Charset = "utf-8"
  2299. </channel>
  2300. <set Charset="iso-8859-15">
  2301. ]]>
  2302. </programlisting></refsynopsisdiv>
  2303. <refsect1>
  2304. <title>Description</title>
  2305. <para>
  2306. The pisg stats page defines a charset in a meta tag, this can be used if
  2307. your country is using a different one than the default.
  2308. </para>
  2309. </refsect1>
  2310. <refsect1>
  2311. <title>Default</title>
  2312. <para> iso-8859-1 </para>
  2313. </refsect1>
  2314. </refentry>
  2315. <!-- *** TIMEOFFSET *** -->
  2316. <refentry id="TimeOffset">
  2317. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  2318. <refnamediv>
  2319. <refname>TimeOffset</refname>
  2320. <refpurpose>use a different time zone than the local machine</refpurpose>
  2321. </refnamediv>
  2322. <refsynopsisdiv><programlisting>
  2323. <![CDATA[
  2324. <channel="#channel">
  2325. Logfile = "channel.log"
  2326. Format = "mIRC"
  2327. Maintainer = "John"
  2328. TimeOffset = "+5"
  2329. </channel>
  2330. <set TimeOffset="+2">
  2331. ]]>
  2332. </programlisting></refsynopsisdiv>
  2333. <refsect1>
  2334. <title>Description</title>
  2335. <para>
  2336. By default, pisg uses the time of the local machine to display the time
  2337. of the generated stats. Sometimes when you have a shell on an external
  2338. box, and it's in another country, you want to use another time. This is
  2339. accomplished by the <command>TimeOffset</command> command.
  2340. </para>
  2341. </refsect1>
  2342. <refsect1>
  2343. <title>Default</title>
  2344. <para> +0 </para>
  2345. </refsect1>
  2346. </refentry>
  2347. <!-- *** REGEXPALIASES *** -->
  2348. <refentry id="RegexpAliases">
  2349. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  2350. <refnamediv>
  2351. <refname>RegexpAliases</refname>
  2352. <refpurpose>use regular expressions in user aliases</refpurpose>
  2353. </refnamediv>
  2354. <refsynopsisdiv><programlisting>
  2355. <![CDATA[
  2356. <user nick="Joe" alias="Joe\d+">
  2357. <set RegexpAliases="1">
  2358. ]]>
  2359. </programlisting></refsynopsisdiv>
  2360. <refsect1>
  2361. <title>Description</title>
  2362. <para>
  2363. Enabling this option will make all aliases in &lt;user&gt; lines be
  2364. parsed as regular expressions.
  2365. </para>
  2366. </refsect1>
  2367. <refsect1>
  2368. <title>Default</title>
  2369. <para> 0 (disabled) </para>
  2370. </refsect1>
  2371. </refentry>
  2372. <!-- *** LANGFILE *** -->
  2373. <refentry id="LangFile">
  2374. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  2375. <refnamediv>
  2376. <refname>LangFile</refname>
  2377. <refpurpose>filename of language file</refpurpose>
  2378. </refnamediv>
  2379. <refsynopsisdiv><programlisting>
  2380. <![CDATA[
  2381. <set LangFile="mylang.txt">
  2382. ]]>
  2383. </programlisting></refsynopsisdiv>
  2384. <refsect1>
  2385. <title>Description</title>
  2386. <para>
  2387. With this option you have an alternative way to define the name and/or
  2388. path to the language file. Usually you don't have to touch this option.
  2389. </para>
  2390. </refsect1>
  2391. <refsect1>
  2392. <title>Default</title>
  2393. <para> lang.txt </para>
  2394. </refsect1>
  2395. </refentry>
  2396. <!-- *** CSSDIR *** -->
  2397. <refentry id="CssDir">
  2398. <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
  2399. <refnamediv>
  2400. <refname>CssDir</refname>
  2401. <refpurpose>path to directory with css files</refpurpose>
  2402. </refnamediv>
  2403. <refsynopsisdiv><programlisting>
  2404. <![CDATA[
  2405. <set CssDir="/usr/share/pisg/layout/">
  2406. ]]>
  2407. </programlisting></refsynopsisdiv>
  2408. <refsect1>
  2409. <title>Description</title>
  2410. <para>
  2411. <command>CssDir</command> is used to define the paths to the CSS files
  2412. (the colorschemes). Usually you don't need to change this.
  2413. </para>
  2414. </refsect1>
  2415. <refsect1>
  2416. <title>Default</title>
  2417. <para> layout/ (in current directory) </para>
  2418. </refsect1>
  2419. </refentry>
  2420. <!-- *** LOGTYPE *** -->
  2421. <refentry id="LogType">
  2422. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  2423. <refnamediv>
  2424. <refname>LogType</refname>
  2425. <refpurpose>type of log (not the format of the log)</refpurpose>
  2426. </refnamediv>
  2427. <refsynopsisdiv><programlisting>
  2428. <![CDATA[
  2429. <set LogType="Logfile">
  2430. ]]>
  2431. </programlisting></refsynopsisdiv>
  2432. <refsect1>
  2433. <title>Description</title>
  2434. <para>
  2435. The type of logs kept for your channel. Currently only "Logfile" is
  2436. supported, so you don't need to change this option.
  2437. </para>
  2438. </refsect1>
  2439. <refsect1>
  2440. <title>Default</title>
  2441. <para> Logfile </para>
  2442. </refsect1>
  2443. </chapter>
  2444. </book>