pisg-doc.xml 115 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222
  1. <!-- This is the raw docbook source of the pisg documentation -->
  2. <?xml version='1.0'?>
  3. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
  4. "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
  5. <book id="pisg-documentation">
  6. <bookinfo>
  7. <title>pisg 1.0a documentation</title>
  8. <subtitle>How to install and configure pisg</subtitle>
  9. </bookinfo>
  10. <toc></toc>
  11. <!-- <lot></lot> -->
  12. <chapter id="what-is-pisg">
  13. <title>What is pisg?</title>
  14. <para>
  15. pisg is an IRC statistics generator. It takes IRC logfiles and turns
  16. them into nice looking stats.
  17. </para>
  18. <para>
  19. In general, you would do something like this to get it running:
  20. <itemizedlist mark="bullet">
  21. <listitem>
  22. <para>
  23. Enable logging in an IRC bot, or in your IRC client. The log will be
  24. outputted into a file.
  25. </para>
  26. </listitem>
  27. <listitem>
  28. <para>
  29. You set up pisg, you define the channel name, and the path to the
  30. logfile you created.
  31. </para>
  32. </listitem>
  33. <listitem>
  34. <para>
  35. You run pisg, pisg runs the log through and create statistics, it
  36. then creates an HTML page which you can upload to a webserver.
  37. </para>
  38. </listitem>
  39. </itemizedlist>
  40. </para>
  41. <sect1 id="requirements">
  42. <title>What are the requirements to run pisg?</title>
  43. <para>
  44. <itemizedlist mark="bullet">
  45. <listitem>
  46. <para>
  47. An IRC client or bot where pisg supports the output logfile.
  48. </para>
  49. </listitem>
  50. <listitem>
  51. <para>
  52. Any operating system which Perl runs on, this includes popular OSes
  53. such as Linux, FreeBSD, Windows and Mac. You will have a hard time
  54. finding an OS where Perl isn't supported. For Windows this means
  55. that you need to download <ulink url="http://activestate.com/Products/ActivePerl/">ActivePerl</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. </para>
  72. </sect1>
  73. </chapter>
  74. <chapter id="setting-up-pisg">
  75. <title>Setting up pisg for the first time</title>
  76. <para>
  77. Most configuration happens through the <filename>pisg.cfg</filename>
  78. file, the file format is made to be easy to read, and easy to extend for
  79. further use. It uses an XML-like format, with elements and attributes.
  80. </para>
  81. <sect1 id="setting-up-a-channel">
  82. <title>Setting up a channel</title>
  83. <para>
  84. An element called <xref linkend="Channel" /> is made for defining
  85. channels, a quick example of a channel is here:
  86. <programlisting>
  87. <![CDATA[
  88. <channel="#channel">
  89. Logfile = "channel.log"
  90. Format = "mIRC"
  91. Maintainer = "John"
  92. OutputFile = "mychan.html"
  93. </channel>
  94. ]]>
  95. </programlisting>
  96. The above will define a <xref linkend="Channel" /> called <command>#channel</command>, the
  97. logfile pisg will look for is called <command>channel.log</command> and
  98. the <xref linkend="Format" /> of the logfile will be <command>mIRC</command>. The
  99. <xref linkend="Maintainer" /> (which will be stated on the output page) is
  100. <command>John</command>.
  101. </para>
  102. <para>
  103. That is basically it! Now, there are a lot more options that you can use
  104. for your channels, for this please refer to the reference documentation.
  105. </para>
  106. <para>
  107. Also be-aware of the fact that pisg uses various images to show the
  108. time-related bars. These images are placed in the
  109. <filename>gfx/</filename> folder and should be placed into the same
  110. directory as your outputted HTML file.
  111. </para>
  112. </sect1>
  113. <sect1 id="user-options">
  114. <title>Specifying user options</title>
  115. <para>
  116. User options are set with a simple XML-like syntax in the form:
  117. <programlisting>
  118. <![CDATA[<user nick="NICK" option="VALUE">]]>
  119. </programlisting>
  120. Remember, the nick is always required.
  121. For example to add aliases to a nick, then you could do this:
  122. <programlisting>
  123. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  124. </programlisting>
  125. The asterisk (*) means that it will match all nicks starting with 'Joe^'. So
  126. it will add all Joe^'s to 'Joe' in the stats.
  127. Another thing you can do is to add a picture to a user:
  128. <programlisting>
  129. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  130. </programlisting>
  131. If you have a larger picture of the user as well, you can make the picture
  132. on the stats page link to it:
  133. <programlisting>
  134. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  135. </programlisting>
  136. You can include * or ? to enable filename globbing to randomly choose one
  137. from several pictures: (see documentation for the
  138. <xref linkend="ImageGlobPath" /> option)
  139. <programlisting>
  140. <![CDATA[<user nick="Ben" pic="ben_*.jpg">]]>
  141. </programlisting>
  142. You can also set a user's sex.
  143. The sex setting can be "f"emale, "m"ale, or "b"ot:
  144. <programlisting>
  145. <![CDATA[<user nick="Ben" sex="m">]]>
  146. </programlisting>
  147. Also you can add links to URLs and e-mails:
  148. <programlisting>
  149. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  150. </programlisting>
  151. or
  152. <programlisting>
  153. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  154. </programlisting>
  155. The last thing you can do is to ignore nicks (for example bots):
  156. <programlisting>
  157. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  158. </programlisting>
  159. You don't have to do all this in many lines, you could just as easily do:
  160. <programlisting>
  161. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  162. </programlisting>
  163. (Here the aliases are a space separated list of nicks, that also works! But *
  164. as a wildcard is smarter, although it is slower).
  165. </para>
  166. </sect1>
  167. <sect1 id="global-options">
  168. <title>Setting global options</title>
  169. <para>
  170. Many times, it will be useful to set up global options, global options
  171. are set like this:
  172. <programlisting>
  173. <![CDATA[<set option="VALUE">]]>
  174. </programlisting>
  175. Any global option will be overriden by anything defined within channel
  176. elements (see <xref linkend="setting-up-a-channel" />)
  177. </para>
  178. <para>
  179. For example, to change the background color of the stats page, you
  180. could do:
  181. <programlisting>
  182. <![CDATA[<set bgcolor="black">]]>
  183. </programlisting>
  184. You can set many options in a single <command>set</command>:
  185. <programlisting>
  186. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  187. </programlisting>
  188. The above will set the language on the statistics page to DE (Deutsch,
  189. German) and set the time offset to +1.
  190. All options available are mentioned in the reference documentation.
  191. </para>
  192. </sect1>
  193. <sect1 id="ignoring-links">
  194. <title>Ignoring links</title>
  195. <para>
  196. It's possible to ignore links in the "Most referenced URLs" section:
  197. <programlisting>
  198. <![CDATA[
  199. <link url="http://www.slashdot.org" ignore="y">
  200. ]]>
  201. </programlisting>
  202. </para>
  203. </sect1>
  204. <sect1 id="including-config">
  205. <title>Including common settings for various channels</title>
  206. <para>
  207. If you have, for example, more than one channel, where the users are the
  208. same, or you don't want to maintain more than one user file, you can use
  209. the "include" setting in the main config file:
  210. <programlisting>
  211. <![CDATA[
  212. <include="/home/vetinari/pisg/users.cfg">
  213. ]]>
  214. </programlisting>
  215. This will include the file /home/vetinari/pisg/users.cfg in the config
  216. at the place where the include statement is set.
  217. </para>
  218. <para>
  219. Note, that you can NOT include a file from an included file!
  220. </para>
  221. </sect1>
  222. <sect1 id="using-css">
  223. <title>Changing the layout of your stats page</title>
  224. <para>
  225. The standard layout and colors in the outputted HTML page are made to be
  226. somewhat clean and neutral. But you have the chance to change the layout
  227. yourself.
  228. </para>
  229. <para>
  230. There are a few predefined color schemes for you to use, use the
  231. <xref linkend="ColorScheme" /> option when using them. The
  232. colorschemes distributed with pisg are: default (which is the default),
  233. darkgalaxy, darkred, justgrey, ocean, orange_grey, pisg, softgreen.
  234. </para>
  235. <para>
  236. When changing it, you need a fair knowledge of CSS (Cascading Style
  237. Sheets). CSS is what most of the web uses today to define styles and
  238. layout on HTML pages.
  239. With the pisg distribution, look in the <filename>layout</filename>
  240. directory. In it resides <filename>default.css</filename> which is the
  241. file being included onto the HTML page. Open it in a text editor like
  242. vi or notepad. Then change it until you're happy with it. Be aware that
  243. you might want to look at the <link linkend="HiCell">HiCell and HiCell2</link>
  244. options through pisg.cfg for changing the last two colors.
  245. </para>
  246. <para>
  247. If you have created a nice stylesheet which other can take advantage of,
  248. you are encouraged to send it to the pisg mailing list so that it can be
  249. distributed with the next version of pisg.
  250. </para>
  251. <para>
  252. If you want to embed the statistics into another page, use the "none" color scheme.
  253. Pisg will then omit the HTML header and write only the body part.
  254. </para>
  255. </sect1>
  256. <sect1 id="running-pisg">
  257. <title>Running pisg</title>
  258. <para>
  259. When everything is set up in the pisg configuration file (pisg.cfg),
  260. then you simply run pisg on the command-line.
  261. </para>
  262. <para>
  263. Using Linux, BSD or another UNIX-like system:
  264. <screen>
  265. <prompt>user@host:pisg-0.37$</prompt> <userinput>./pisg</userinput>
  266. </screen>
  267. </para>
  268. <para>
  269. Using Windows:
  270. <screen>
  271. <prompt>c:\pisg&gt;</prompt> <userinput>perl pisg</userinput>
  272. </screen>
  273. </para>
  274. <para>
  275. The program will run and parse the logfiles you specified in the
  276. configuration file.
  277. </para>
  278. <para>
  279. If you are using Linux, BSD or another UNIX-like system and want run
  280. pisg automatically several times a day, then see the
  281. <filename>crontab</filename> file in the <filename>scripts/</filename>
  282. directory.
  283. </para>
  284. <para>
  285. For Windows, see the <filename>windows-upload-ftp.txt</filename> file
  286. with the pisg distribution, this file is also placed in the
  287. <filename>scripts/</filename> directory.
  288. </para>
  289. </sect1>
  290. <sect1 id="mailing-list-and-bugs">
  291. <title>Obtaining help and reporting bugs</title>
  292. <para>
  293. If your problem could not be resolved through here, then you should send
  294. an e-mail to the pisg mailing list. You can subscribe and see more info
  295. at <ulink
  296. url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
  297. </para>
  298. <para>
  299. If you believe that you have found a bug, you should use the SourceForge
  300. <ulink
  301. url="http://sourceforge.net/tracker/?group_id=31862&amp;atid=403711">bug
  302. tracking system.</ulink>
  303. </para>
  304. </sect1>
  305. </chapter>
  306. <chapter id="reference">
  307. <title>General pisg options</title>
  308. <!-- *** CHANNEL *** -->
  309. <refentry id="Channel">
  310. <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
  311. <refnamediv>
  312. <refname>Channel</refname>
  313. <refpurpose>define channel name</refpurpose>
  314. </refnamediv>
  315. <refsynopsisdiv><programlisting>
  316. <![CDATA[
  317. <channel="#channel">
  318. Logfile = "channel.log"
  319. Format = "mIRC"
  320. Maintainer = "John"
  321. </channel>
  322. ]]>
  323. </programlisting></refsynopsisdiv>
  324. <refsect1>
  325. <title>Description</title>
  326. <para>
  327. <command>Channel</command> is used in two contexts, globally when using
  328. &lt;set&gt; and when defining new channels. It sets the name of the
  329. channel.
  330. </para>
  331. </refsect1>
  332. <refsect1>
  333. <title>Default</title>
  334. <para> Unset </para>
  335. </refsect1>
  336. </refentry>
  337. <!-- *** FORMAT *** -->
  338. <refentry id="Format">
  339. <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
  340. <refnamediv>
  341. <refname>Format</refname>
  342. <refpurpose>the logfile format</refpurpose>
  343. </refnamediv>
  344. <refsynopsisdiv><programlisting>
  345. <![CDATA[
  346. <channel="#channel">
  347. Logfile = "channel.log"
  348. Format = "eggdrop"
  349. Maintainer = "John"
  350. </channel>
  351. <set Format="mIRC">
  352. ]]>
  353. </programlisting></refsynopsisdiv>
  354. <refsect1>
  355. <title>Description</title>
  356. <para>
  357. <command>Format</command> is used to define the format of the logfile,
  358. pisg supports a various number of different logfiles, see the FORMATS
  359. file included with the pisg distribution. If your logfiles have the
  360. suffix .gz or .bz2, they will automatically be decompressed and read by
  361. pisg.
  362. See also <xref linkend="Maintainer" />.
  363. </para>
  364. </refsect1>
  365. <refsect1>
  366. <title>Default</title>
  367. <para> Unset </para>
  368. </refsect1>
  369. </refentry>
  370. <!-- *** NETWORK *** -->
  371. <refentry id="Network">
  372. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  373. <refnamediv>
  374. <refname>Network</refname>
  375. <refpurpose>the IRC network of the channel</refpurpose>
  376. </refnamediv>
  377. <refsynopsisdiv><programlisting>
  378. <![CDATA[
  379. <channel="#channel">
  380. Logfile = "channel.log"
  381. Format = "eggdrop"
  382. Network = "Undernet"
  383. </channel>
  384. <set Network="Quakenet">
  385. ]]>
  386. </programlisting></refsynopsisdiv>
  387. <refsect1>
  388. <title>Description</title>
  389. <para>
  390. <command>Network</command> is used to set the network which the channel
  391. resides on, this name is displayed on the stats page.
  392. </para>
  393. </refsect1>
  394. <refsect1>
  395. <title>Default</title>
  396. <para> SomeIRCNetwork </para>
  397. </refsect1>
  398. </refentry>
  399. <!-- *** OUTPUTFILE *** -->
  400. <refentry id="OutputFile">
  401. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  402. <refnamediv>
  403. <refname>OutputFile</refname>
  404. <refpurpose>name of the generated HTML page</refpurpose>
  405. </refnamediv>
  406. <refsynopsisdiv><programlisting>
  407. <![CDATA[
  408. <channel="#channel">
  409. Logfile = "channel.log"
  410. Format = "eggdrop"
  411. OutputFile = "mychan.html"
  412. </channel>
  413. <set OutputFile="mychan.html">
  414. ]]>
  415. </programlisting></refsynopsisdiv>
  416. <refsect1>
  417. <title>Description</title>
  418. <para>
  419. <command>OutputFile</command> is used to define the name of the
  420. generated statistics page.
  421. </para>
  422. </refsect1>
  423. <refsect1>
  424. <title>Default</title>
  425. <para> index.html </para>
  426. </refsect1>
  427. </refentry>
  428. <!-- *** OUTPUTTAG *** -->
  429. <refentry id="OutputTag">
  430. <refmeta> <refentrytitle>OutputTag</refentrytitle> </refmeta>
  431. <refnamediv>
  432. <refname>OutputTag</refname>
  433. <refpurpose>tag to insert into OutputFile</refpurpose>
  434. </refnamediv>
  435. <refsynopsisdiv><programlisting>
  436. <![CDATA[
  437. <channel="#channel">
  438. LogDir = "logs/"
  439. Format = "eggdrop"
  440. OutputFile = "mychan%t.html"
  441. OutputTag = "-week"
  442. </channel>
  443. <set OutputTag="-week">
  444. ]]>
  445. </programlisting></refsynopsisdiv>
  446. <refsect1>
  447. <title>Description</title>
  448. <para>
  449. <command>OutputTag</command> specifies a string that will replace
  450. occurrences of "%t" in <xref linkend="OutputFile" />. This option is most
  451. useful when used as a command line switch (-t) to pisg in conjunction with
  452. <xref linkend="NFiles" /> (-nf). Example:
  453. <programlisting>
  454. <![CDATA[
  455. $ pisg -co pisg.conf
  456. $ pisg -co pisg.conf -nf 8 -t -week
  457. ]]>
  458. </programlisting>
  459. Leaving out the <command>OutputTag</command> settings from the above
  460. pisg.conf snippet, this writes both the full statistics (mychan.html) and
  461. statistics for the last week (mychan-week.html) using the same pisg config
  462. file. (Assuming that there are separate logfiles for each day.)
  463. </para>
  464. </refsect1>
  465. <refsect1>
  466. <title>Default</title>
  467. <para> unset </para>
  468. </refsect1>
  469. </refentry>
  470. <!-- *** LOGFILE *** -->
  471. <refentry id="Logfile">
  472. <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
  473. <refnamediv>
  474. <refname>Logfile</refname>
  475. <refpurpose>name of logfile to parse</refpurpose>
  476. </refnamediv>
  477. <refsynopsisdiv><programlisting>
  478. <![CDATA[
  479. <channel="#channel">
  480. Logfile="/home/foo/eggdrop/logs/mylog.txt"
  481. Format = "eggdrop"
  482. </channel>
  483. <set Logfile="foo.log">
  484. ]]>
  485. </programlisting></refsynopsisdiv>
  486. <refsect1>
  487. <title>Description</title>
  488. <para>
  489. This defines the filename of the logfile to parse for the channel. If
  490. you want to parse a directory full of logfiles, you should use the
  491. <xref linkend="LogDir" /> option instead. Providing this option multiple
  492. times will parse multiple files in the order the statements appear.
  493. Wildcards (* ? []) will be expanded.
  494. See also <xref linkend="LogDir" /> and <xref linkend="NFiles" />.
  495. </para>
  496. </refsect1>
  497. <refsect1>
  498. <title>Default</title>
  499. <para> unset </para>
  500. </refsect1>
  501. </refentry>
  502. <!-- *** LOGDIR *** -->
  503. <refentry id="LogDir">
  504. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  505. <refnamediv>
  506. <refname>LogDir</refname>
  507. <refpurpose>parse a directory full of logs</refpurpose>
  508. </refnamediv>
  509. <refsynopsisdiv><programlisting>
  510. <![CDATA[
  511. <channel="#channel">
  512. LogDir="/home/foo/eggdrop/logs/"
  513. Format = "eggdrop"
  514. </channel>
  515. <set LogDir="dailylogs/">
  516. ]]>
  517. </programlisting></refsynopsisdiv>
  518. <refsect1>
  519. <title>Description</title>
  520. <para>
  521. When <command>LogDir</command> is defined to valid path to a directory,
  522. then pisg will run through that directory, parse all logfiles in it and
  523. create one HTML page from it. Useful with for example eggdrop logs. Providing
  524. this option multiple times will parse all the files in multiple
  525. directories in the order the statements appear.
  526. See also <xref linkend="NFiles" />, <xref linkend="LogPrefix" />, and
  527. <xref linkend="LogSuffix" />.
  528. </para>
  529. </refsect1>
  530. <refsect1>
  531. <title>Default</title>
  532. <para> unset </para>
  533. </refsect1>
  534. </refentry>
  535. <!-- *** NFILES *** -->
  536. <refentry id="NFiles">
  537. <refmeta> <refentrytitle>NFiles</refentrytitle> </refmeta>
  538. <refnamediv>
  539. <refname>NFiles</refname>
  540. <refpurpose>parse only the last files in <xref linkend="LogDir" /></refpurpose>
  541. </refnamediv>
  542. <refsynopsisdiv><programlisting>
  543. <![CDATA[
  544. <channel="#channel">
  545. LogDir="/home/foo/eggdrop/logs/"
  546. NFiles="8"
  547. Format="eggdrop"
  548. </channel>
  549. <set NFiles="8">
  550. ]]>
  551. </programlisting></refsynopsisdiv>
  552. <refsect1>
  553. <title>Description</title>
  554. <para>
  555. When <command>NFiles</command> is set to a positive integer, pisg will
  556. process only the last that much logfiles from <xref linkend="Logfile" />
  557. and <xref linkend="LogDir" /> options. Useful to create statistics that
  558. cover the last week or month (assuming there are separate logfile per
  559. day/week/etc.). </para>
  560. </refsect1>
  561. <refsect1>
  562. <title>Default</title>
  563. <para> 0 (process all files) </para>
  564. </refsect1>
  565. </refentry>
  566. <!-- *** MAINTAINER *** -->
  567. <refentry id="Maintainer">
  568. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  569. <refnamediv>
  570. <refname>Maintainer</refname>
  571. <refpurpose>name of the maintainer</refpurpose>
  572. </refnamediv>
  573. <refsynopsisdiv><programlisting>
  574. <![CDATA[
  575. <channel="#channel">
  576. Logfile = "channel.log"
  577. Format = "mIRC"
  578. Maintainer = "Benny"
  579. </channel>
  580. <set Maintainer="Benny">
  581. ]]>
  582. </programlisting></refsynopsisdiv>
  583. <refsect1>
  584. <title>Description</title>
  585. <para>
  586. <command>Maintainer</command> is used to define the name of the
  587. maintainer of the statistics page, this can be either the person
  588. generating the stats or the bot/client doing the logging.
  589. The maintainer is displayed in the outputted stats page.
  590. This setting is also used by some log parsers where "You" is used
  591. instead of the nick in the log (e.g. "You have been kicked").
  592. See also <xref linkend="Format" />, <xref linkend="NickTracking" />.
  593. </para>
  594. </refsect1>
  595. <refsect1>
  596. <title>Default</title>
  597. <para> MAINTAINER </para>
  598. </refsect1>
  599. </refentry>
  600. <!-- *** COLORSCHEME *** -->
  601. <refentry id="ColorScheme">
  602. <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
  603. <refnamediv>
  604. <refname>ColorScheme</refname>
  605. <refpurpose>use a different color scheme for stats page</refpurpose>
  606. </refnamediv>
  607. <refsynopsisdiv><programlisting>
  608. <![CDATA[
  609. <channel="#channel">
  610. Logfile = "channel.log"
  611. ColorScheme = "darkgalaxy"
  612. Maintainer = "John"
  613. </channel>
  614. <set ColorScheme="default">
  615. ]]>
  616. </programlisting></refsynopsisdiv>
  617. <refsect1>
  618. <title>Description</title>
  619. <para>
  620. <command>ColorScheme</command> is used to define the color scheme used
  621. for the statistics page. Actually it's the CSS file being included.
  622. CSS files distributed with pisg are: darkgalaxy, darkred, default,
  623. justgrey, ocean, orange_grey, pisg, softgreen (omit the .css). The file
  624. will be included statically in the generated HTML page. If you give a file
  625. name or URL (i.e. a color scheme name with .css or a path), the file will
  626. be linked to instead. Using "none" will cause pisg to write only the body
  627. of the page; use this to include the statistics into a custom page. See
  628. also <xref linkend="CssDir" />, <xref linkend="AltColorScheme" />,
  629. <link linkend="HiCell">HiCell/HiCell2</link>.
  630. </para>
  631. </refsect1>
  632. <refsect1>
  633. <title>Default</title>
  634. <para> default </para>
  635. </refsect1>
  636. </refentry>
  637. <!-- *** ALTCOLORSCHEME *** -->
  638. <refentry id="AltColorScheme">
  639. <refmeta> <refentrytitle>AltColorScheme</refentrytitle> </refmeta>
  640. <refnamediv>
  641. <refname>AltColorScheme</refname>
  642. <refpurpose>alternate stylesheets for stats page</refpurpose>
  643. </refnamediv>
  644. <refsynopsisdiv><programlisting>
  645. <![CDATA[
  646. <channel="#channel">
  647. Logfile = "channel.log"
  648. ColorScheme = "darkgalaxy"
  649. AltColorScheme = "layout/ocean.css"
  650. Maintainer = "John"
  651. </channel>
  652. <set AltColorScheme="layout/darkgalaxy.css layout/justgrey.css">
  653. ]]>
  654. </programlisting></refsynopsisdiv>
  655. <refsect1>
  656. <title>Description</title>
  657. <para>
  658. <command>AltColorScheme</command> defines an alternate CSS file to
  659. be used for the statistics page. Multiple files can be given (space
  660. separated.) Note that this is not supported by all browsers.
  661. See also <xref linkend="ColorScheme" /> and <xref linkend="CssDir" />.
  662. </para>
  663. </refsect1>
  664. <refsect1>
  665. <title>Default</title>
  666. <para> default </para>
  667. </refsect1>
  668. </refentry>
  669. <!-- *** LANG *** -->
  670. <refentry id="Lang">
  671. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  672. <refnamediv>
  673. <refname>Lang</refname>
  674. <refpurpose>define the language / translation to use</refpurpose>
  675. </refnamediv>
  676. <refsynopsisdiv><programlisting>
  677. <![CDATA[
  678. <channel="#channel">
  679. Logfile = "channel.log"
  680. Format = "mIRC"
  681. Lang = "DE"
  682. OutputFile = "mychan-%l.html"
  683. </channel>
  684. <set Lang="FR,SE">
  685. ]]>
  686. </programlisting></refsynopsisdiv>
  687. <refsect1>
  688. <title>Description</title>
  689. <para>
  690. <command>Lang</command> defines the language to use for the stats.
  691. Currently, lang.txt includes:
  692. EN (English),
  693. BG (Bulgarian),
  694. CA (Catalan),
  695. CZ (Czech),
  696. DA (Danish),
  697. DE (German),
  698. EE (Estonian),
  699. ES (Spanish),
  700. FI (Finnish),
  701. FR (French),
  702. GR (Greek),
  703. HE (Hebrew),
  704. HU (Hungarian),
  705. IS (Icelandic),
  706. IT (Italian),
  707. NL (Dutch),
  708. NL_BE (Flemish),
  709. NO (Norwegian),
  710. PL (Polish),
  711. PT (Portuguese),
  712. PT_BR (Portuguese/Brazil),
  713. RO (Romanian),
  714. RU (Russian),
  715. SE (Swedish),
  716. SI (Slovenian),
  717. SK (Slovak),
  718. SQ (Albanian),
  719. TR (Turkish),
  720. YU (Serbian).
  721. Output in several languages can be generated at the same time, separate the
  722. languages by comma. The tag %l in the output file name will be replaced by
  723. the language name. See also <xref linkend="LangFile" />.
  724. </para>
  725. </refsect1>
  726. <refsect1>
  727. <title>Default</title>
  728. <para> EN (English) </para>
  729. </refsect1>
  730. </refentry>
  731. <!-- *** PAGEHEAD *** -->
  732. <refentry id="PageHead">
  733. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  734. <refnamediv>
  735. <refname>PageHead</refname>
  736. <refpurpose>define a file as page header</refpurpose>
  737. </refnamediv>
  738. <refsynopsisdiv><programlisting>
  739. <![CDATA[
  740. <channel="#channel">
  741. Logfile = "channel.log"
  742. Format = "mIRC"
  743. OutputFile = "stats.html"
  744. PageHead = "myheader.txt"
  745. </channel>
  746. <set PageHead="someheader.txt">
  747. ]]>
  748. </programlisting></refsynopsisdiv>
  749. <refsect1>
  750. <title>Description</title>
  751. <para>
  752. <command>PageHead</command> is used to include a file in the stats page,
  753. for example an introduction text, a link to an image or a banner. The
  754. file can hold anything, it will be included raw in the stats page -
  755. so HTML should be preferred. The file will be included in the top of
  756. the page. This option is the opposite of <xref linkend="PageFoot" />.
  757. </para>
  758. </refsect1>
  759. <refsect1>
  760. <title>Default</title>
  761. <para> none </para>
  762. </refsect1>
  763. </refentry>
  764. <!-- *** PAGEFOOT *** -->
  765. <refentry id="PageFoot">
  766. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  767. <refnamediv>
  768. <refname>PageFoot</refname>
  769. <refpurpose>define a file as page footer</refpurpose>
  770. </refnamediv>
  771. <refsynopsisdiv><programlisting>
  772. <![CDATA[
  773. <channel="#channel">
  774. Logfile = "channel.log"
  775. Format = "mIRC"
  776. outputfile = "stats.html"
  777. PageFoot = "myfooter.txt"
  778. </channel>
  779. <set PageFoot="somefooter.txt">
  780. ]]>
  781. </programlisting></refsynopsisdiv>
  782. <refsect1>
  783. <title>Description</title>
  784. <para>
  785. <command>PageFoot</command> is used to include a file in the stats page,
  786. for example an introduction text, a link to an image or a banner. The
  787. file can hold anything, it will be included raw in the stats page -
  788. so HTML should be preferred. The file will be included in the bottom of
  789. the page. This option is the opposite of <xref linkend="PageHead" />.
  790. </para>
  791. </refsect1>
  792. <refsect1>
  793. <title>Default</title>
  794. <para> none </para>
  795. </refsect1>
  796. </refentry>
  797. <!-- *** LogPrefix *** -->
  798. <refentry id="LogPrefix">
  799. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  800. <refnamediv>
  801. <refname>LogPrefix</refname>
  802. <refpurpose>only parse logs LogPrefixed with a user defined string</refpurpose>
  803. </refnamediv>
  804. <refsynopsisdiv><programlisting>
  805. <![CDATA[
  806. <channel="#channel">
  807. LogDir="/home/foo/eggdrop/logs/"
  808. Format = "eggdrop"
  809. LogPrefix = "logjun"
  810. </channel>
  811. <set LogPrefix="logjanuary">
  812. ]]>
  813. </programlisting></refsynopsisdiv>
  814. <refsect1>
  815. <title>Description</title>
  816. <para>
  817. When using the <xref linkend="LogDir" /> option and you only want to use
  818. a slew of the files in it, you can have pisg choose only files which are
  819. prefixed with a special string.
  820. </para>
  821. </refsect1>
  822. <refsect1>
  823. <title>Default</title>
  824. <para> unset </para>
  825. </refsect1>
  826. </refentry>
  827. <!-- *** LOGSUFFIX *** -->
  828. <refentry id="LogSuffix">
  829. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  830. <refnamediv>
  831. <refname>LogSuffix</refname>
  832. <refpurpose>Regexp to sort logfiles by format month||day||year</refpurpose>
  833. </refnamediv>
  834. <refsynopsisdiv><programlisting>
  835. <![CDATA[
  836. <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)">
  837. ]]>
  838. </programlisting></refsynopsisdiv>
  839. <refsect1>
  840. <title>Description</title>
  841. <para>
  842. <command>LogSuffix</command> is used to define the suffix of a logfile,
  843. it only works when <xref linkend="LogDir" /> is defined. The example in
  844. the synopsis is for the eggdrop bots default format.
  845. </para>
  846. </refsect1>
  847. <refsect1>
  848. <title>Default</title>
  849. <para> Unset </para>
  850. </refsect1>
  851. </refentry>
  852. <!-- *** SILENT *** -->
  853. <refentry id="Silent">
  854. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  855. <refnamediv>
  856. <refname>Silent</refname>
  857. <refpurpose>make pisg silent, suppress messages</refpurpose>
  858. </refnamediv>
  859. <refsynopsisdiv><programlisting>
  860. <![CDATA[
  861. <set Silent="1">
  862. ]]>
  863. </programlisting></refsynopsisdiv>
  864. <refsect1>
  865. <title>Description</title>
  866. <para>
  867. This option is useful mainly from command line when invoking pisg with
  868. <command>--silent 1</command>. But it can also used in the configuration
  869. file. It will suppress all standard output from pisg. Error messages
  870. will still be sent.
  871. </para>
  872. </refsect1>
  873. <refsect1>
  874. <title>Default</title>
  875. <para> 0 (disabled) </para>
  876. </refsect1>
  877. </refentry>
  878. <!-- *** CACHEDIR *** -->
  879. <refentry id="CacheDir">
  880. <refmeta> <refentrytitle>CacheDir</refentrytitle> </refmeta>
  881. <refnamediv>
  882. <refname>CacheDir</refname>
  883. <refpurpose>use a cache to speed up log parsing</refpurpose>
  884. </refnamediv>
  885. <refsynopsisdiv><programlisting>
  886. <![CDATA[
  887. <set CacheDir="pisg_cache">
  888. <set CacheDir="/path/to/pisg_cache">
  889. ]]>
  890. </programlisting></refsynopsisdiv>
  891. <refsect1>
  892. <title>Description</title>
  893. <para>
  894. Setting this option makes pisg dump the results of log parsing into cache
  895. files. The next time pisg is run, it compares the timestamp of the log(s)
  896. with the timestamp stored in the cache file. When the log was not changed,
  897. the cached data is used. (This means that it does not work if you only
  898. have a single big logfile. Split the log at arbitrary points and use
  899. <xref linkend="LogDir" /> or <xref linkend="Logfile" />="dir/*".)
  900. </para>
  901. <para>
  902. Note that the cache files should be deleted when the pisg config file is
  903. changed since the cache data uses the old config settings.
  904. <xref linkend="NickTracking" /> does not work especially well with the
  905. cache when using different <xref linkend="NFiles" /> settings.
  906. </para>
  907. </refsect1>
  908. <refsect1>
  909. <title>Default</title>
  910. <para> Unset </para>
  911. </refsect1>
  912. </refentry>
  913. <refentry id="ChannelIndex">
  914. <refmeta> <refentrytitle>ChannelIndex</refentrytitle> </refmeta>
  915. <refnamediv>
  916. <refname>ChannelIndex</refname>
  917. <refpurpose>name of the channel list file for a landing page</refpurpose>
  918. </refnamediv>
  919. <refsynopsisdiv><programlisting>
  920. <![CDATA[
  921. <set ChannelIndex="channels.json">
  922. ]]>
  923. </programlisting></refsynopsisdiv>
  924. <refsect1>
  925. <title>Description</title>
  926. <para>
  927. Each time pisg writes a channel page, it also updates a small JSON file, next to
  928. that page, listing the channels found in the same directory: the channel name as
  929. written in the <xref linkend="Channel" /> setting, the page file name, the network, when
  930. it was updated, and the number of days, nicks and lines. A landing page can read this
  931. file to offer a drop-down list of channels (see <filename>site/index.html</filename>), so
  932. nothing has to scan or scrape the HTML pages. Each run only changes the entry of its
  933. own channel, and entries whose page no longer exists are removed. Set it to "none"
  934. to switch this off.
  935. </para>
  936. </refsect1>
  937. <refsect1>
  938. <title>Default</title>
  939. <para> channels.json </para>
  940. </refsect1>
  941. </refentry>
  942. <refentry id="HomeLink">
  943. <refmeta> <refentrytitle>HomeLink</refentrytitle> </refmeta>
  944. <refnamediv>
  945. <refname>HomeLink</refname>
  946. <refpurpose>adds a button at the top of every stats page that leads back to your landing page</refpurpose>
  947. </refnamediv>
  948. <refsynopsisdiv><programlisting>
  949. <![CDATA[
  950. <set HomeLink="index.html">
  951. ]]>
  952. </programlisting></refsynopsisdiv>
  953. <refsect1>
  954. <title>Description</title>
  955. <para>
  956. Shows an "All channels" button above the title of each stats page (translated with the
  957. page language). Give the page it should lead to: a file name next to the stats page, such as
  958. <filename>index.html</filename> (the landing page in <filename>site/</filename>), or a full
  959. http(s) address. Leave it empty, or "none", for no button. Only the newer colour schemes
  960. draw it as a button; a scheme set to "none" does not show it.
  961. </para>
  962. </refsect1>
  963. <refsect1>
  964. <title>Default</title>
  965. <para> empty (no button) </para>
  966. </refsect1>
  967. </refentry>
  968. <refentry id="ShowNavBar">
  969. <refmeta> <refentrytitle>ShowNavBar</refentrytitle> </refmeta>
  970. <refnamediv>
  971. <refname>ShowNavBar</refname>
  972. <refpurpose>enable/disable the section bar at the top of the page</refpurpose>
  973. </refnamediv>
  974. <refsynopsisdiv><programlisting>
  975. <![CDATA[
  976. <set ShowNavBar="1">
  977. ]]>
  978. </programlisting></refsynopsisdiv>
  979. <refsect1>
  980. <title>Description</title>
  981. <para>
  982. Adds a slim bar at the top of the stats page that stays in view while scrolling. It shows which
  983. section is being read, and a "Sections" button opens a list of every section, laid out in columns so
  984. nothing has to be scrolled sideways, whatever the number of sections or the language. It also works
  985. without JavaScript. The bar is left out when <xref linkend="ColorScheme" /> is "none",
  986. since the page is then meant to be embedded in another one.
  987. </para>
  988. </refsect1>
  989. <refsect1>
  990. <title>Default</title>
  991. <para> 1 (enabled) </para>
  992. </refsect1>
  993. </refentry>
  994. </chapter>
  995. <chapter id="reference-stats">
  996. <title>Options for various statistics features</title>
  997. <!-- *** DailyActivity *** -->
  998. <refentry id="DailyActivity">
  999. <refmeta> <refentrytitle>DailyActivity</refentrytitle> </refmeta>
  1000. <refnamediv>
  1001. <refname>DailyActivity</refname>
  1002. <refpurpose>number of days to show in "Daily Actitity"</refpurpose>
  1003. </refnamediv>
  1004. <refsynopsisdiv><programlisting>
  1005. <![CDATA[
  1006. <channel="#channel">
  1007. Logfile = "channel.log"
  1008. Format = "xchat"
  1009. DailyActivity = "0"
  1010. </channel>
  1011. <set DailyActivity="31">
  1012. ]]>
  1013. </programlisting></refsynopsisdiv>
  1014. <refsect1>
  1015. <title>Description</title>
  1016. <para>
  1017. This option sets the number of days to show in the "Daily activity"
  1018. section. Pisg will generate a graph that shows the actitivy during
  1019. this timeframe. Setting the option to 0 disables the section.
  1020. </para>
  1021. </refsect1>
  1022. <refsect1>
  1023. <title>Default</title>
  1024. <para> 0 (disabled) </para>
  1025. </refsect1>
  1026. </refentry>
  1027. <!-- *** SHOWACTIVETIMES *** -->
  1028. <refentry id="ShowActiveTimes">
  1029. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  1030. <refnamediv>
  1031. <refname>ShowActiveTimes</refname>
  1032. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  1033. </refnamediv>
  1034. <refsynopsisdiv><programlisting>
  1035. <![CDATA[
  1036. <channel="#channel">
  1037. Logfile = "channel.log"
  1038. Format = "xchat"
  1039. ShowActiveTimes = "0"
  1040. </channel>
  1041. <set ShowActiveTimes="1">
  1042. ]]>
  1043. </programlisting></refsynopsisdiv>
  1044. <refsect1>
  1045. <title>Description</title>
  1046. <para>
  1047. With this option you can disable the "Most Active Times" section on the
  1048. stats page. It will simply disappear when specifying 0.
  1049. </para>
  1050. </refsect1>
  1051. <refsect1>
  1052. <title>Default</title>
  1053. <para> 1 (enabled) </para>
  1054. </refsect1>
  1055. </refentry>
  1056. <!-- *** SHOWACTIVENICKS *** -->
  1057. <refentry id="ShowActiveNicks">
  1058. <refmeta> <refentrytitle>ShowActiveNicks</refentrytitle> </refmeta>
  1059. <refnamediv>
  1060. <refname>ShowActiveNicks</refname>
  1061. <refpurpose>enable/disable "Most Active Nicks"</refpurpose>
  1062. </refnamediv>
  1063. <refsynopsisdiv><programlisting>
  1064. <![CDATA[
  1065. <channel="#channel">
  1066. Logfile = "channel.log"
  1067. Format = "xchat"
  1068. ShowActiveNicks = "0"
  1069. </channel>
  1070. <set ShowActiveNicks="1">
  1071. ]]>
  1072. </programlisting></refsynopsisdiv>
  1073. <refsect1>
  1074. <title>Description</title>
  1075. <para>
  1076. With this option you can disable the "Most Active Nicks" section on the
  1077. stats page.
  1078. </para>
  1079. </refsect1>
  1080. <refsect1>
  1081. <title>Default</title>
  1082. <para> 1 (enabled) </para>
  1083. </refsect1>
  1084. </refentry>
  1085. <!-- *** SHOWBIGNUMBERS *** -->
  1086. <refentry id="ShowBigNumbers">
  1087. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  1088. <refnamediv>
  1089. <refname>ShowBigNumbers</refname>
  1090. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  1091. </refnamediv>
  1092. <refsynopsisdiv><programlisting>
  1093. <![CDATA[
  1094. <channel="#channel">
  1095. Logfile = "channel.log"
  1096. Format = "xchat"
  1097. ShowBigNumbers = "0"
  1098. </channel>
  1099. <set ShowBigNumbers="1">
  1100. ]]>
  1101. </programlisting></refsynopsisdiv>
  1102. <refsect1>
  1103. <title>Description</title>
  1104. <para>
  1105. With this option you can disable the "Big Numbers" and "Other
  1106. Interesting numbers" sections on the stats page. They will simply
  1107. disappear when specifying 0.
  1108. </para>
  1109. </refsect1>
  1110. <refsect1>
  1111. <title>Default</title>
  1112. <para> 1 (enabled) </para>
  1113. </refsect1>
  1114. </refentry>
  1115. <!-- *** SHOWTOPICS *** -->
  1116. <refentry id="ShowTopics">
  1117. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  1118. <refnamediv>
  1119. <refname>ShowTopics</refname>
  1120. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  1121. </refnamediv>
  1122. <refsynopsisdiv><programlisting>
  1123. <![CDATA[
  1124. <channel="#channel">
  1125. Logfile = "channel.log"
  1126. Format = "xchat"
  1127. ShowTopics = "0"
  1128. </channel>
  1129. <set ShowTopics="1">
  1130. ]]>
  1131. </programlisting></refsynopsisdiv>
  1132. <refsect1>
  1133. <title>Description</title>
  1134. <para>
  1135. With this option you can disable the "Latest topics" section on the
  1136. stats page. It will simply disappear when specifying 0.
  1137. </para>
  1138. </refsect1>
  1139. <refsect1>
  1140. <title>Default</title>
  1141. <para> 1 (enabled) </para>
  1142. </refsect1>
  1143. </refentry>
  1144. <!-- *** SHOWLINES *** -->
  1145. <refentry id="ShowLines">
  1146. <refmeta> <refentrytitle>ShowLines</refentrytitle> </refmeta>
  1147. <refnamediv>
  1148. <refname>ShowLines</refname>
  1149. <refpurpose>enable/disable "number of lines"</refpurpose>
  1150. </refnamediv>
  1151. <refsynopsisdiv><programlisting>
  1152. <![CDATA[
  1153. <channel="#channel">
  1154. Logfile = "channel.log"
  1155. Format = "xchat"
  1156. ShowLines = "0"
  1157. </channel>
  1158. <set ShowLines="1">
  1159. ]]>
  1160. </programlisting></refsynopsisdiv>
  1161. <refsect1>
  1162. <title>Description</title>
  1163. <para>
  1164. The default behaviour is to add a column to the "Most Active Nicks"
  1165. section displaying the number of lines a user wrote. With this option it
  1166. can be disabled.
  1167. </para>
  1168. </refsect1>
  1169. <refsect1>
  1170. <title>Default</title>
  1171. <para> 1 (enabled) </para>
  1172. </refsect1>
  1173. </refentry>
  1174. <!-- *** SHOWWPL *** -->
  1175. <refentry id="ShowWpl">
  1176. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  1177. <refnamediv>
  1178. <refname>ShowWpl</refname>
  1179. <refpurpose>enable/disable "words per line"</refpurpose>
  1180. </refnamediv>
  1181. <refsynopsisdiv><programlisting>
  1182. <![CDATA[
  1183. <channel="#channel">
  1184. Logfile = "channel.log"
  1185. Format = "xchat"
  1186. ShowWpl = "0"
  1187. </channel>
  1188. <set ShowWpl="1">
  1189. ]]>
  1190. </programlisting></refsynopsisdiv>
  1191. <refsect1>
  1192. <title>Description</title>
  1193. <para>
  1194. With this option you can enable the "words per line" column in the
  1195. "Most Active Nicks" section. It will add a column describing the average
  1196. words per line for a person.
  1197. </para>
  1198. </refsect1>
  1199. <refsect1>
  1200. <title>Default</title>
  1201. <para> 0 (disabled) </para>
  1202. </refsect1>
  1203. </refentry>
  1204. <!-- *** SHOWCPL *** -->
  1205. <refentry id="ShowCpl">
  1206. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  1207. <refnamediv>
  1208. <refname>ShowCpl</refname>
  1209. <refpurpose>enable/disable "characters per line"</refpurpose>
  1210. </refnamediv>
  1211. <refsynopsisdiv><programlisting>
  1212. <![CDATA[
  1213. <channel="#channel">
  1214. Logfile = "channel.log"
  1215. Format = "xchat"
  1216. ShowCpl = "0"
  1217. </channel>
  1218. <set ShowCpl="1">
  1219. ]]>
  1220. </programlisting></refsynopsisdiv>
  1221. <refsect1>
  1222. <title>Description</title>
  1223. <para>
  1224. With this option you can enable the "characters per line" column in the
  1225. "Most Active Nicks" section. It will add a column describing the average
  1226. number of characters per line for a person.
  1227. </para>
  1228. </refsect1>
  1229. <refsect1>
  1230. <title>Default</title>
  1231. <para> 0 (disabled) </para>
  1232. </refsect1>
  1233. </refentry>
  1234. <!-- *** SHOWWORDS *** -->
  1235. <refentry id="ShowWords">
  1236. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  1237. <refnamediv>
  1238. <refname>ShowWords</refname>
  1239. <refpurpose>enable/disable "number of words"</refpurpose>
  1240. </refnamediv>
  1241. <refsynopsisdiv><programlisting>
  1242. <![CDATA[
  1243. <channel="#channel">
  1244. Logfile = "channel.log"
  1245. Format = "xchat"
  1246. ShowWords = "0"
  1247. </channel>
  1248. <set ShowWords="1">
  1249. ]]>
  1250. </programlisting></refsynopsisdiv>
  1251. <refsect1>
  1252. <title>Description</title>
  1253. <para>
  1254. The <command>ShowWords</command> option adds a column to the "Most
  1255. Active Nicks" list which list the total number of words a user has
  1256. typed.
  1257. </para>
  1258. </refsect1>
  1259. <refsect1>
  1260. <title>Default</title>
  1261. <para> 0 (disabled) </para>
  1262. </refsect1>
  1263. </refentry>
  1264. <!-- *** ShowLastSeen *** -->
  1265. <refentry id="ShowLastSeen">
  1266. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  1267. <refnamediv>
  1268. <refname>ShowLastSeen</refname>
  1269. <refpurpose>show when a user was last seen on a channel</refpurpose>
  1270. </refnamediv>
  1271. <refsynopsisdiv><programlisting>
  1272. <![CDATA[
  1273. <channel="#channel">
  1274. Logfile = "channel.log"
  1275. Format = "xchat"
  1276. ShowLastSeen = "0"
  1277. </channel>
  1278. <set ShowLastSeen="1">
  1279. ]]>
  1280. </programlisting></refsynopsisdiv>
  1281. <refsect1>
  1282. <title>Description</title>
  1283. <para>
  1284. With this option enabled, a column will be added to the "Most Active
  1285. Nicks" section to display when a user was last seen. E.g. "2 days ago".
  1286. </para>
  1287. </refsect1>
  1288. <refsect1>
  1289. <title>Default</title>
  1290. <para> 1 (enabled) </para>
  1291. </refsect1>
  1292. </refentry>
  1293. <!-- *** SHOWTIME *** -->
  1294. <refentry id="ShowTime">
  1295. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  1296. <refnamediv>
  1297. <refname>ShowTime</refname>
  1298. <refpurpose>show when a nick was active</refpurpose>
  1299. </refnamediv>
  1300. <refsynopsisdiv><programlisting>
  1301. <![CDATA[
  1302. <channel="#channel">
  1303. Logfile = "channel.log"
  1304. Format = "xchat"
  1305. ShowTime = "0"
  1306. </channel>
  1307. <set ShowTime="1">
  1308. ]]>
  1309. </programlisting></refsynopsisdiv>
  1310. <refsect1>
  1311. <title>Description</title>
  1312. <para>
  1313. The default behaviour is to add a column to the "Most Active Nicks"
  1314. section displaying a fancy time bar to show when a user was active. With
  1315. this option it can be disabled.
  1316. </para>
  1317. </refsect1>
  1318. <refsect1>
  1319. <title>Default</title>
  1320. <para> 1 (enabled) </para>
  1321. </refsect1>
  1322. </refentry>
  1323. <!-- *** SHOWLINETIME *** -->
  1324. <refentry id="ShowLineTime">
  1325. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  1326. <refnamediv>
  1327. <refname>ShowLineTime</refname>
  1328. <refpurpose>mIRCStats like behaviour of time bar</refpurpose>
  1329. </refnamediv>
  1330. <refsynopsisdiv><programlisting>
  1331. <![CDATA[
  1332. <channel="#channel">
  1333. Logfile = "channel.log"
  1334. Format = "bobot"
  1335. ShowLineTime = "0"
  1336. </channel>
  1337. <set ShowLineTime="1">
  1338. ]]>
  1339. </programlisting></refsynopsisdiv>
  1340. <refsect1>
  1341. <title>Description</title>
  1342. <para>
  1343. The default behaviour is to add a column to the "Most Active Nicks"
  1344. section displaying a fancy time bar to show when a user was active.
  1345. With this option it can be done the same way as mIRCStats does it; that
  1346. is, by putting that time bar next to the number of lines, in the same
  1347. column.
  1348. </para>
  1349. </refsect1>
  1350. <refsect1>
  1351. <title>Default</title>
  1352. <para> 0 (disabled) </para>
  1353. </refsect1>
  1354. </refentry>
  1355. <!-- *** SHOWWORDTIME *** -->
  1356. <refentry id="ShowWordTime">
  1357. <refmeta> <refentrytitle>ShowWordTime</refentrytitle> </refmeta>
  1358. <refnamediv>
  1359. <refname>ShowWordTime</refname>
  1360. <refpurpose>ShowLineTime like behavior of words column</refpurpose>
  1361. </refnamediv>
  1362. <refsynopsisdiv><programlisting>
  1363. <![CDATA[
  1364. <channel="#channel">
  1365. Logfile = "channel.log"
  1366. Format = "bobot"
  1367. ShowWordTime = "0"
  1368. </channel>
  1369. <set ShowWordTime="1">
  1370. ]]>
  1371. </programlisting></refsynopsisdiv>
  1372. <refsect1>
  1373. <title>Description</title>
  1374. <para>
  1375. The default behaviour is to add a column to the "Most Active Nicks"
  1376. section displaying a fancy time bar to show when a user was active.
  1377. With this option it can be done similarly to mIRCStats does it and like
  1378. the ShowLineTime option, but using words instead of lines; that is, by
  1379. putting that time bar next to the number of words, in the same column.
  1380. </para>
  1381. </refsect1>
  1382. <refsect1>
  1383. <title>Default</title>
  1384. <para> 0 (disabled) </para>
  1385. </refsect1>
  1386. </refentry>
  1387. <!-- *** SHOWRANDQUOTE *** -->
  1388. <refentry id="ShowRandQuote">
  1389. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  1390. <refnamediv>
  1391. <refname>ShowRandQuote</refname>
  1392. <refpurpose>enable or disable the random quotes</refpurpose>
  1393. </refnamediv>
  1394. <refsynopsisdiv><programlisting>
  1395. <![CDATA[
  1396. <channel="#channel">
  1397. Logfile = "channel.log"
  1398. Format = "bobot"
  1399. ShowRandQuote = "0"
  1400. </channel>
  1401. <set ShowRandQuote="1">
  1402. ]]>
  1403. </programlisting></refsynopsisdiv>
  1404. <refsect1>
  1405. <title>Description</title>
  1406. <para>
  1407. The default behaviour is to add a column to the "Most Active Nicks"
  1408. section displaying a users random quote. With this option it can be
  1409. disabled.
  1410. </para>
  1411. </refsect1>
  1412. <refsect1>
  1413. <title>Default</title>
  1414. <para> 1 (enabled) </para>
  1415. </refsect1>
  1416. </refentry>
  1417. <!-- *** SHOWLEGEND *** -->
  1418. <refentry id="ShowLegend">
  1419. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  1420. <refnamediv>
  1421. <refname>ShowLegend</refname>
  1422. <refpurpose>enable or disable the legend of the time bars</refpurpose>
  1423. </refnamediv>
  1424. <refsynopsisdiv><programlisting>
  1425. <![CDATA[
  1426. <channel="#channel">
  1427. Logfile = "channel.log"
  1428. Format = "bobot"
  1429. ShowLegend = "0"
  1430. </channel>
  1431. <set ShowLegend="1">
  1432. ]]>
  1433. </programlisting></refsynopsisdiv>
  1434. <refsect1>
  1435. <title>Description</title>
  1436. <para>
  1437. By default, pisg shows a legend below the "Most Active Times" displaying
  1438. what the different colors means. With this option it can be disabled.
  1439. </para>
  1440. </refsect1>
  1441. <refsect1>
  1442. <title>Default</title>
  1443. <para> 1 (enabled) </para>
  1444. </refsect1>
  1445. </refentry>
  1446. <!-- *** SHOWKICKLINE *** -->
  1447. <refentry id="ShowKickLine">
  1448. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  1449. <refnamediv>
  1450. <refname>ShowKickLine</refname>
  1451. <refpurpose>enable or disable the kick line</refpurpose>
  1452. </refnamediv>
  1453. <refsynopsisdiv><programlisting>
  1454. <![CDATA[
  1455. <channel="#channel">
  1456. Logfile = "channel.log"
  1457. Format = "bobot"
  1458. ShowKickLine = "0"
  1459. </channel>
  1460. <set ShowKickLine="1">
  1461. ]]>
  1462. </programlisting></refsynopsisdiv>
  1463. <refsect1>
  1464. <title>Description</title>
  1465. <para>
  1466. By default, pisg shows an example kick line in the "Most kicked"-stats.
  1467. With this option it can be disabled.
  1468. </para>
  1469. </refsect1>
  1470. <refsect1>
  1471. <title>Default</title>
  1472. <para> 1 (enabled) </para>
  1473. </refsect1>
  1474. </refentry>
  1475. <!-- *** SHOWACTIONLINE *** -->
  1476. <refentry id="ShowActionLine">
  1477. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  1478. <refnamediv>
  1479. <refname>ShowActionLine</refname>
  1480. <refpurpose>enable or disable the action line</refpurpose>
  1481. </refnamediv>
  1482. <refsynopsisdiv><programlisting>
  1483. <![CDATA[
  1484. <channel="#channel">
  1485. Logfile = "channel.log"
  1486. Format = "bobot"
  1487. ShowActionLine = "0"
  1488. </channel>
  1489. <set ShowActionLine="1">
  1490. ]]>
  1491. </programlisting></refsynopsisdiv>
  1492. <refsect1>
  1493. <title>Description</title>
  1494. <para>
  1495. By default, pisg shows an example action line in the "Most actions"-stats.
  1496. With this option it can be disabled.
  1497. </para>
  1498. </refsect1>
  1499. <refsect1>
  1500. <title>Default</title>
  1501. <para> 1 (enabled) </para>
  1502. </refsect1>
  1503. </refentry>
  1504. <!-- *** SHOWSHOUTLINE *** -->
  1505. <refentry id="ShowShoutLine">
  1506. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1507. <refnamediv>
  1508. <refname>ShowShoutLine</refname>
  1509. <refpurpose>enable or disable the shout line</refpurpose>
  1510. </refnamediv>
  1511. <refsynopsisdiv><programlisting>
  1512. <![CDATA[
  1513. <channel="#channel">
  1514. Logfile = "channel.log"
  1515. Format = "bobot"
  1516. ShowShoutLine = "0"
  1517. </channel>
  1518. <set ShowShoutLine="1">
  1519. ]]>
  1520. </programlisting></refsynopsisdiv>
  1521. <refsect1>
  1522. <title>Description</title>
  1523. <para>
  1524. By default, pisg shows an example shout line in the "Most shouting
  1525. people"-stats. With this option it can be disabled.
  1526. </para>
  1527. </refsect1>
  1528. <refsect1>
  1529. <title>Default</title>
  1530. <para> 1 (enabled) </para>
  1531. </refsect1>
  1532. </refentry>
  1533. <!-- *** SHOWFOULDECIMALS *** -->
  1534. <refentry id="ShowFoulDecimals">
  1535. <refmeta> <refentrytitle>ShowFoulDecimals</refentrytitle> </refmeta>
  1536. <refnamediv>
  1537. <refname>ShowFoulDecimals</refname>
  1538. <refpurpose>set how many decimals to show</refpurpose>
  1539. </refnamediv>
  1540. <refsynopsisdiv><programlisting>
  1541. <![CDATA[
  1542. <channel="#channel">
  1543. Logfile = "channel.log"
  1544. Format = "bobot"
  1545. ShowFoulDecimals = "2"
  1546. </channel>
  1547. <set ShowFoulDecimals="1">
  1548. ]]>
  1549. </programlisting></refsynopsisdiv>
  1550. <refsect1>
  1551. <title>Description</title>
  1552. <para>
  1553. By default, pisg uses 1 decimal. With this option you could change
  1554. it to whatever you like. Negative is treated as the default value.
  1555. </para>
  1556. </refsect1>
  1557. <refsect1>
  1558. <title>Default</title>
  1559. <para> 1 decimal </para>
  1560. </refsect1>
  1561. </refentry>
  1562. <!-- *** SHOWFOULLINE *** -->
  1563. <refentry id="ShowFoulLine">
  1564. <refmeta> <refentrytitle>ShowFoulLine</refentrytitle> </refmeta>
  1565. <refnamediv>
  1566. <refname>ShowFoulLine</refname>
  1567. <refpurpose>enable or disable the foul line</refpurpose>
  1568. </refnamediv>
  1569. <refsynopsisdiv><programlisting>
  1570. <![CDATA[
  1571. <channel="#channel">
  1572. Logfile = "channel.log"
  1573. Format = "bobot"
  1574. ShowFoulLine = "0"
  1575. </channel>
  1576. <set ShowFoulLine="1">
  1577. ]]>
  1578. </programlisting></refsynopsisdiv>
  1579. <refsect1>
  1580. <title>Description</title>
  1581. <para>
  1582. By default, pisg doesn't show an example foul line in the "Most
  1583. fouls"-stats. With this option it can be enabled.
  1584. </para>
  1585. </refsect1>
  1586. <refsect1>
  1587. <title>Default</title>
  1588. <para> 0 (disabled) </para>
  1589. </refsect1>
  1590. </refentry>
  1591. <!-- *** SHOWVIOLENTLINES *** -->
  1592. <refentry id="ShowViolentLines">
  1593. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1594. <refnamediv>
  1595. <refname>ShowViolentLines</refname>
  1596. <refpurpose>enable or disable the violent lines</refpurpose>
  1597. </refnamediv>
  1598. <refsynopsisdiv><programlisting>
  1599. <![CDATA[
  1600. <channel="#channel">
  1601. Logfile = "channel.log"
  1602. Format = "bobot"
  1603. ShowViolentLines = "0"
  1604. </channel>
  1605. <set ShowViolentLines="1">
  1606. ]]>
  1607. </programlisting></refsynopsisdiv>
  1608. <refsect1>
  1609. <title>Description</title>
  1610. <para>
  1611. By default, pisg shows example violent lines in the "Most aggressive"
  1612. and "Most attacked"-stats. With this option it can be disabled.
  1613. </para>
  1614. </refsect1>
  1615. <refsect1>
  1616. <title>Default</title>
  1617. <para> 1 (enabled) </para>
  1618. </refsect1>
  1619. </refentry>
  1620. <!-- *** SHOWMUW *** -->
  1621. <refentry id="ShowMuw">
  1622. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1623. <refnamediv>
  1624. <refname>ShowMuw</refname>
  1625. <refpurpose>enable or disable "Most used words"</refpurpose>
  1626. </refnamediv>
  1627. <refsynopsisdiv><programlisting>
  1628. <![CDATA[
  1629. <channel="#channel">
  1630. Logfile = "channel.log"
  1631. Format = "xchat"
  1632. ShowMuw = "0"
  1633. </channel>
  1634. <set ShowMuw="1">
  1635. ]]>
  1636. </programlisting></refsynopsisdiv>
  1637. <refsect1>
  1638. <title>Description</title>
  1639. <para>
  1640. By default, pisg adds an "Most used words" section to the stats page.
  1641. With this option you can disable it from being shown.
  1642. See also <xref linkend="WordHistory" />.
  1643. </para>
  1644. </refsect1>
  1645. <refsect1>
  1646. <title>Default</title>
  1647. <para> 1 (enabled) </para>
  1648. </refsect1>
  1649. </refentry>
  1650. <!-- *** SHOWMRN *** -->
  1651. <refentry id="ShowMrn">
  1652. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1653. <refnamediv>
  1654. <refname>ShowMrn</refname>
  1655. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1656. </refnamediv>
  1657. <refsynopsisdiv><programlisting>
  1658. <![CDATA[
  1659. <channel="#channel">
  1660. Logfile = "channel.log"
  1661. Format = "xchat"
  1662. ShowMrn = "0"
  1663. </channel>
  1664. <set ShowMrn="1">
  1665. ]]>
  1666. </programlisting></refsynopsisdiv>
  1667. <refsect1>
  1668. <title>Description</title>
  1669. <para>
  1670. By default, pisg adds an "Most referenced nicks" section to the stats
  1671. page. With this option you can disable it from being shown.
  1672. See also <xref linkend="NickHistory" />.
  1673. </para>
  1674. </refsect1>
  1675. <refsect1>
  1676. <title>Default</title>
  1677. <para> 1 (enabled) </para>
  1678. </refsect1>
  1679. </refentry>
  1680. <!-- *** SHOWMRU *** -->
  1681. <refentry id="ShowMru">
  1682. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1683. <refnamediv>
  1684. <refname>ShowMru</refname>
  1685. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1686. </refnamediv>
  1687. <refsynopsisdiv><programlisting>
  1688. <![CDATA[
  1689. <channel="#channel">
  1690. Logfile = "channel.log"
  1691. Format = "xchat"
  1692. ShowMru = "0"
  1693. </channel>
  1694. <set ShowMru="1">
  1695. ]]>
  1696. </programlisting></refsynopsisdiv>
  1697. <refsect1>
  1698. <title>Description</title>
  1699. <para>
  1700. By default, pisg adds an "Most referenced URLs" section to the stats
  1701. page. With this option you can disable it from being shown.
  1702. See also <xref linkend="UrlHistory" />.
  1703. </para>
  1704. </refsect1>
  1705. <refsect1>
  1706. <title>Default</title>
  1707. <para> 1 (enabled) </para>
  1708. </refsect1>
  1709. </refentry>
  1710. <!-- *** SHOWCHARTS *** -->
  1711. <refentry id="ShowCharts">
  1712. <refmeta> <refentrytitle>ShowCharts</refentrytitle> </refmeta>
  1713. <refnamediv>
  1714. <refname>ShowCharts</refname>
  1715. <refpurpose>enable or disable channel music charts</refpurpose>
  1716. </refnamediv>
  1717. <refsynopsisdiv><programlisting>
  1718. <![CDATA[
  1719. <channel="#channel">
  1720. Logfile = "channel.log"
  1721. Format = "xchat"
  1722. ShowCharts = "0"
  1723. </channel>
  1724. <set ShowCharts="1">
  1725. ]]>
  1726. </programlisting></refsynopsisdiv>
  1727. <refsect1>
  1728. <title>Description</title>
  1729. <para>
  1730. With this option set, pisg creates a chart listing of the top songs played
  1731. on the channel. See also <xref linkend="ChartsHistory" /> and
  1732. <xref linkend="ChartsRegexp" />.
  1733. </para>
  1734. </refsect1>
  1735. <refsect1>
  1736. <title>Default</title>
  1737. <para> 0 (disabled) </para>
  1738. </refsect1>
  1739. </refentry>
  1740. <!-- *** SHOWOPS *** -->
  1741. <refentry id="ShowOps">
  1742. <refmeta> <refentrytitle>ShowOps</refentrytitle> </refmeta>
  1743. <refnamediv>
  1744. <refname>ShowOps</refname>
  1745. <refpurpose>enable or disable op statistics</refpurpose>
  1746. </refnamediv>
  1747. <refsynopsisdiv><programlisting>
  1748. <![CDATA[
  1749. <channel="#channel">
  1750. Logfile = "channel.log"
  1751. Format = "xchat"
  1752. ShowOps = "0"
  1753. </channel>
  1754. <set ShowOps="0">
  1755. ]]>
  1756. </programlisting></refsynopsisdiv>
  1757. <refsect1>
  1758. <title>Description</title>
  1759. <para>
  1760. By default, pisg has op statistics in the "Most interesting numbers"
  1761. section. Here you can disable the feature, it's useful if you don't feel
  1762. that the information is of any value, or your log format doesn't support
  1763. ops/deops.
  1764. </para>
  1765. </refsect1>
  1766. <refsect1>
  1767. <title>Default</title>
  1768. <para> 1 (enabled) </para>
  1769. </refsect1>
  1770. </refentry>
  1771. <!-- *** SHOWVOICES *** -->
  1772. <refentry id="ShowVoices">
  1773. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1774. <refnamediv>
  1775. <refname>ShowVoices</refname>
  1776. <refpurpose>enable or disable voice statistics</refpurpose>
  1777. </refnamediv>
  1778. <refsynopsisdiv><programlisting>
  1779. <![CDATA[
  1780. <channel="#channel">
  1781. Logfile = "channel.log"
  1782. Format = "xchat"
  1783. ShowVoices = "0"
  1784. </channel>
  1785. <set ShowVoices="1">
  1786. ]]>
  1787. </programlisting></refsynopsisdiv>
  1788. <refsect1>
  1789. <title>Description</title>
  1790. <para>
  1791. By default, pisg doesn't have voice statistics like it has op
  1792. statistics. Enabling this option will add a section to the "Most
  1793. interesting numbers" displaying who got most voices.
  1794. </para>
  1795. </refsect1>
  1796. <refsect1>
  1797. <title>Default</title>
  1798. <para> 0 (disabled) </para>
  1799. </refsect1>
  1800. </refentry>
  1801. <!-- *** SHOWHALFOPS *** -->
  1802. <refentry id="ShowHalfops">
  1803. <refmeta> <refentrytitle>ShowHalfops</refentrytitle> </refmeta>
  1804. <refnamediv>
  1805. <refname>ShowHalfops</refname>
  1806. <refpurpose>enable or disable halfop statistics</refpurpose>
  1807. </refnamediv>
  1808. <refsynopsisdiv><programlisting>
  1809. <![CDATA[
  1810. <channel="#channel">
  1811. Logfile = "channel.log"
  1812. Format = "xchat"
  1813. ShowHalfops = "0"
  1814. </channel>
  1815. <set ShowHalfops="1">
  1816. ]]>
  1817. </programlisting></refsynopsisdiv>
  1818. <refsect1>
  1819. <title>Description</title>
  1820. <para>
  1821. By default, pisg doesn't have halfop statistics (+h on some servers)
  1822. like it has op statistics. Enabling this option will add a section to
  1823. the "Most interesting numbers" displaying who gave most half-ops.
  1824. </para>
  1825. </refsect1>
  1826. <refsect1>
  1827. <title>Default</title>
  1828. <para> 0 (disabled) </para>
  1829. </refsect1>
  1830. </refentry>
  1831. <!-- *** SHOWMOSTNICKS *** -->
  1832. <refentry id="ShowMostNicks">
  1833. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1834. <refnamediv>
  1835. <refname>ShowMostNicks</refname>
  1836. <refpurpose>show who changed nick most often</refpurpose>
  1837. </refnamediv>
  1838. <refsynopsisdiv><programlisting>
  1839. <![CDATA[
  1840. <channel="#channel">
  1841. Logfile = "channel.log"
  1842. Format = "xchat"
  1843. ShowMostNicks = "0"
  1844. </channel>
  1845. <set ShowMostNicks="1">
  1846. ]]>
  1847. </programlisting></refsynopsisdiv>
  1848. <refsect1>
  1849. <title>Description</title>
  1850. <para>
  1851. By enabling this option, pisg will add a section to the stats showing
  1852. who had the most nicks, and what the nicks were. This option only works
  1853. properly when <xref linkend="NickTracking" /> is enabled or
  1854. <link linkend="user-options">user aliases</link> have been defined.
  1855. See also <xref linkend="MostNicksHistory" />,
  1856. <xref linkend="MostNicksVerbose" />, and
  1857. <xref linkend="NickLimit" />.
  1858. </para>
  1859. </refsect1>
  1860. <refsect1>
  1861. <title>Default</title>
  1862. <para> 0 (disabled) </para>
  1863. </refsect1>
  1864. </refentry>
  1865. <!-- *** SHOWACTIVEGENDERS *** -->
  1866. <refentry id="ShowActiveGenders">
  1867. <refmeta> <refentrytitle>ShowActiveGenders</refentrytitle> </refmeta>
  1868. <refnamediv>
  1869. <refname>ShowActiveGenders</refname>
  1870. <refpurpose>show stats on which gender talked most</refpurpose>
  1871. </refnamediv>
  1872. <refsynopsisdiv><programlisting>
  1873. <![CDATA[
  1874. <channel="#channel">
  1875. Logfile = "channel.log"
  1876. Format = "xchat"
  1877. ShowActiveGenders = "0"
  1878. </channel>
  1879. <set ShowActiveGenders="1">
  1880. ]]>
  1881. </programlisting></refsynopsisdiv>
  1882. <refsect1>
  1883. <title>Description</title>
  1884. <para>
  1885. Setting this option will make pisg create statistics on which gender
  1886. (female/male/bot) talked most (see the "sex" option in <xref
  1887. linkend="user-options" />). See also <xref linkend="NickLimit" />.
  1888. </para>
  1889. </refsect1>
  1890. <refsect1>
  1891. <title>Default</title>
  1892. <para> 0 (disabled) </para>
  1893. </refsect1>
  1894. </refentry>
  1895. <!-- *** SHOWSMILEYS *** -->
  1896. <refentry id="ShowSmileys">
  1897. <refmeta> <refentrytitle>ShowSmileys</refentrytitle> </refmeta>
  1898. <refnamediv>
  1899. <refname>ShowSmileys</refname>
  1900. <refpurpose>show most used smileys</refpurpose>
  1901. </refnamediv>
  1902. <refsynopsisdiv><programlisting>
  1903. <![CDATA[
  1904. <channel="#channel">
  1905. Logfile = "channel.log"
  1906. Format = "xchat"
  1907. ShowSmileys = "0"
  1908. </channel>
  1909. <set ShowSmileys="1">
  1910. ]]>
  1911. </programlisting></refsynopsisdiv>
  1912. <refsect1>
  1913. <title>Description</title>
  1914. <para>
  1915. With this option, pisg will make a list of the most used smileys in the
  1916. channel. See also <xref linkend="SmileyHistory" />.
  1917. </para>
  1918. </refsect1>
  1919. <refsect1>
  1920. <title>Default</title>
  1921. <para> 0 (disabled) </para>
  1922. </refsect1>
  1923. </refentry>
  1924. <!-- *** SHOWKARMA *** -->
  1925. <refentry id="ShowKarma">
  1926. <refmeta> <refentrytitle>ShowKarma</refentrytitle> </refmeta>
  1927. <refnamediv>
  1928. <refname>ShowKarma</refname>
  1929. <refpurpose>show channel karma</refpurpose>
  1930. </refnamediv>
  1931. <refsynopsisdiv><programlisting>
  1932. <![CDATA[
  1933. <channel="#channel">
  1934. Logfile = "channel.log"
  1935. Format = "xchat"
  1936. ShowKarma = "0"
  1937. </channel>
  1938. <set ShowKarma="1">
  1939. ]]>
  1940. </programlisting></refsynopsisdiv>
  1941. <refsect1>
  1942. <title>Description</title>
  1943. <para>
  1944. With this option, pisg will analyze the channel karma. Users can give other
  1945. users (or things) good or bad karma by saying "nickname++" or "nickname--";
  1946. "nickname==" resets it to zero. Only the last karma is remembered per
  1947. nick/nick combination, so there is at most +- 1 karma point.
  1948. See also <xref linkend="KarmaHistory" /> and <xref linkend="NickLimit" />.
  1949. </para>
  1950. </refsect1>
  1951. <refsect1>
  1952. <title>Default</title>
  1953. <para> 0 (disabled) </para>
  1954. </refsect1>
  1955. </refentry>
  1956. <!-- *** SHOWMOSTACTIVEBYHOUR *** -->
  1957. <refentry id="ShowMostActiveByHour">
  1958. <refmeta> <refentrytitle>ShowMostActiveByHour</refentrytitle> </refmeta>
  1959. <refnamediv>
  1960. <refname>ShowMostActiveByHour</refname>
  1961. <refpurpose>show most active nicks by hour</refpurpose>
  1962. </refnamediv>
  1963. <refsynopsisdiv><programlisting>
  1964. <![CDATA[
  1965. <channel="#channel">
  1966. Logfile = "channel.log"
  1967. Format = "xchat"
  1968. ShowMostActiveByHour = "0"
  1969. </channel>
  1970. <set ShowMostActiveByHour="1">
  1971. ]]>
  1972. </programlisting></refsynopsisdiv>
  1973. <refsect1>
  1974. <title>Description</title>
  1975. <para>
  1976. By enabling this option, pisg will add a section to the stats showing
  1977. "Most Active Nicks By Hour" - also look at the
  1978. <xref linkend="ShowMostActiveByHourGraph" /> and
  1979. <xref linkend="ActiveNicksByHour" /> settings.
  1980. </para>
  1981. </refsect1>
  1982. <refsect1>
  1983. <title>Default</title>
  1984. <para> 0 (disabled) </para>
  1985. </refsect1>
  1986. </refentry>
  1987. <!-- *** SHOWONLYTOP *** -->
  1988. <refentry id="ShowOnlyTop">
  1989. <refmeta> <refentrytitle>ShowOnlyTop</refentrytitle> </refmeta>
  1990. <refnamediv>
  1991. <refname>ShowOnlyTop</refname>
  1992. <refpurpose>only count stats for top talkers, ignore less-active users</refpurpose>
  1993. </refnamediv>
  1994. <refsynopsisdiv><programlisting>
  1995. <![CDATA[
  1996. <channel="#channel">
  1997. Logfile = "channel.log"
  1998. Format = "xchat"
  1999. ShowOnlyTop = "1"
  2000. </channel>
  2001. <set ShowOnlyTop="1">
  2002. ]]>
  2003. </programlisting></refsynopsisdiv>
  2004. <refsect1>
  2005. <title>Description</title>
  2006. <para>
  2007. By enabling this option, stats in the "Big Numbers" and "Interesting
  2008. Numbers" section will only be counted for users who were the most
  2009. active. E.g. users who appear in the "Most Active Nicks" section, as
  2010. respected by the <xref linkend="ActiveNicks" /> and
  2011. <xref linkend="ActiveNicks2" /> options. See also
  2012. <xref linkend="BigNumbersThreshold" />.
  2013. </para>
  2014. </refsect1>
  2015. <refsect1>
  2016. <title>Default</title>
  2017. <para> 0 (disabled) </para>
  2018. </refsect1>
  2019. </refentry>
  2020. <!-- *** SHOWMOSTACTIVEBYHOURGRAPH *** -->
  2021. <refentry id="ShowMostActiveByHourGraph">
  2022. <refmeta> <refentrytitle>ShowMostActiveByHourGraph</refentrytitle> </refmeta>
  2023. <refnamediv>
  2024. <refname>ShowMostActiveByHourGraph</refname>
  2025. <refpurpose>show graphs in most active nicks by hour</refpurpose>
  2026. </refnamediv>
  2027. <refsynopsisdiv><programlisting>
  2028. <![CDATA[
  2029. <channel="#channel">
  2030. Logfile = "channel.log"
  2031. Format = "xchat"
  2032. ShowMostActiveByHourGraph = "0"
  2033. </channel>
  2034. <set ShowMostActiveByHour="1">
  2035. <set ShowMostActiveByHourGraph="1">
  2036. ]]>
  2037. </programlisting></refsynopsisdiv>
  2038. <refsect1>
  2039. <title>Description</title>
  2040. <para>
  2041. By enabling this option and the <xref linkend="ShowMostActiveByHour" />
  2042. option, pisg will show graphs in the "Most Active Nicks By Hour"
  2043. section.
  2044. </para>
  2045. </refsect1>
  2046. <refsect1>
  2047. <title>Default</title>
  2048. <para> 1 (enabled) </para>
  2049. </refsect1>
  2050. </refentry>
  2051. <refentry id="ShowOverview">
  2052. <refmeta> <refentrytitle>ShowOverview</refentrytitle> </refmeta>
  2053. <refnamediv>
  2054. <refname>ShowOverview</refname>
  2055. <refpurpose>enable/disable the channel overview</refpurpose>
  2056. </refnamediv>
  2057. <refsynopsisdiv><programlisting>
  2058. <![CDATA[
  2059. <set ShowOverview="1">
  2060. ]]>
  2061. </programlisting></refsynopsisdiv>
  2062. <refsect1>
  2063. <title>Description</title>
  2064. <para>
  2065. Shows a row of key numbers at the top of the page: lines, words, nicks, days covered, lines
  2066. per day, the busiest and quietest hour, questions, links shared, the top talker and the
  2067. number of joins and kicks.
  2068. </para>
  2069. </refsect1>
  2070. <refsect1>
  2071. <title>Default</title>
  2072. <para> 1 (enabled) </para>
  2073. </refsect1>
  2074. </refentry>
  2075. <refentry id="ShowRelations">
  2076. <refmeta> <refentrytitle>ShowRelations</refentrytitle> </refmeta>
  2077. <refnamediv>
  2078. <refname>ShowRelations</refname>
  2079. <refpurpose>enable/disable the relation map and its tables</refpurpose>
  2080. </refnamediv>
  2081. <refsynopsisdiv><programlisting>
  2082. <![CDATA[
  2083. <set ShowRelations="1">
  2084. ]]>
  2085. </programlisting></refsynopsisdiv>
  2086. <refsect1>
  2087. <title>Description</title>
  2088. <para>
  2089. Shows who talks to whom: an interactive map (click a nick or a line for details), a table of
  2090. the closest pairs, and the "social roles" (who is talked to the most, the best listener, ...).
  2091. Two people are connected when one starts a line with the other's nick ("Bob: hi"), mentions
  2092. them, or answers right after them. A line addressed to someone counts three times as much as
  2093. a mention or a quick reply. Nicks that are joined by <xref linkend="NickTracking" /> or a user alias
  2094. count as one person. Bots are left out: mark a bot with <![CDATA[<user nick="Bot" sex="b">]]> to keep it in the
  2095. other statistics but off the map, or with ignore="y" to remove it altogether. Nicks that are also
  2096. ordinary words (and the channel name) are not counted as mentions.
  2097. See also <xref linkend="RelationNicks" /> and <xref linkend="RelationMinWeight" />.
  2098. </para>
  2099. </refsect1>
  2100. <refsect1>
  2101. <title>Default</title>
  2102. <para> 1 (enabled) </para>
  2103. </refsect1>
  2104. </refentry>
  2105. <refentry id="RelationNicks">
  2106. <refmeta> <refentrytitle>RelationNicks</refentrytitle> </refmeta>
  2107. <refnamediv>
  2108. <refname>RelationNicks</refname>
  2109. <refpurpose>number of nicks on the relation map</refpurpose>
  2110. </refnamediv>
  2111. <refsynopsisdiv><programlisting>
  2112. <![CDATA[
  2113. <set RelationNicks="30">
  2114. ]]>
  2115. </programlisting></refsynopsisdiv>
  2116. <refsect1>
  2117. <title>Description</title>
  2118. <para>
  2119. The map shows this many of the most active people (bots excluded). More than about 40 makes
  2120. the picture crowded.
  2121. </para>
  2122. </refsect1>
  2123. <refsect1>
  2124. <title>Default</title>
  2125. <para> 30 </para>
  2126. </refsect1>
  2127. </refentry>
  2128. <refentry id="RelationMinWeight">
  2129. <refmeta> <refentrytitle>RelationMinWeight</refentrytitle> </refmeta>
  2130. <refnamediv>
  2131. <refname>RelationMinWeight</refname>
  2132. <refpurpose>minimum connection strength shown as a line on the relation map</refpurpose>
  2133. </refnamediv>
  2134. <refsynopsisdiv><programlisting>
  2135. <![CDATA[
  2136. <set RelationMinWeight="3">
  2137. ]]>
  2138. </programlisting></refsynopsisdiv>
  2139. <refsect1>
  2140. <title>Description</title>
  2141. <para>
  2142. Connections weaker than this are not drawn, which keeps the map readable. A line addressed to
  2143. someone is worth 3, a mention 1 and a quick reply 1. Raise it for a busy channel, lower it for a quiet one.
  2144. </para>
  2145. </refsect1>
  2146. <refsect1>
  2147. <title>Default</title>
  2148. <para> 3 </para>
  2149. </refsect1>
  2150. </refentry>
  2151. <refentry id="ShowTimePersonalities">
  2152. <refmeta> <refentrytitle>ShowTimePersonalities</refentrytitle> </refmeta>
  2153. <refnamediv>
  2154. <refname>ShowTimePersonalities</refname>
  2155. <refpurpose>enable/disable the time personalities section</refpurpose>
  2156. </refnamediv>
  2157. <refsynopsisdiv><programlisting>
  2158. <![CDATA[
  2159. <set ShowTimePersonalities="1">
  2160. ]]>
  2161. </programlisting></refsynopsisdiv>
  2162. <refsect1>
  2163. <title>Description</title>
  2164. <para>
  2165. Shows who chats mostly at night (0-5h), in the morning (6-11h), in the afternoon (12-17h) and
  2166. in the evening (18-23h), for the people with enough lines. The hours follow <xref linkend="TimeOffset" />.
  2167. </para>
  2168. </refsect1>
  2169. <refsect1>
  2170. <title>Default</title>
  2171. <para> 1 (enabled) </para>
  2172. </refsect1>
  2173. </refentry>
  2174. <refentry id="ShowConcentration">
  2175. <refmeta> <refentrytitle>ShowConcentration</refentrytitle> </refmeta>
  2176. <refnamediv>
  2177. <refname>ShowConcentration</refname>
  2178. <refpurpose>enable/disable the "who carries the channel" section</refpurpose>
  2179. </refnamediv>
  2180. <refsynopsisdiv><programlisting>
  2181. <![CDATA[
  2182. <set ShowConcentration="1">
  2183. ]]>
  2184. </programlisting></refsynopsisdiv>
  2185. <refsect1>
  2186. <title>Description</title>
  2187. <para>
  2188. Shows how much of the channel the busiest people write: the share of all lines written by the
  2189. top 1, 3, 5, 10 and 20 nicks, and how many nicks wrote half of everything.
  2190. </para>
  2191. </refsect1>
  2192. <refsect1>
  2193. <title>Default</title>
  2194. <para> 1 (enabled) </para>
  2195. </refsect1>
  2196. </refentry>
  2197. <refentry id="ShowSignatureWords">
  2198. <refmeta> <refentrytitle>ShowSignatureWords</refentrytitle> </refmeta>
  2199. <refnamediv>
  2200. <refname>ShowSignatureWords</refname>
  2201. <refpurpose>enable/disable the signature words section</refpurpose>
  2202. </refnamediv>
  2203. <refsynopsisdiv><programlisting>
  2204. <![CDATA[
  2205. <set ShowSignatureWords="1">
  2206. ]]>
  2207. </programlisting></refsynopsisdiv>
  2208. <refsect1>
  2209. <title>Description</title>
  2210. <para>
  2211. Shows, for each of the regular talkers, the word they use a lot and that hardly anyone else uses.
  2212. Short words, nicks and links are ignored (see <xref linkend="WordLength" /> and <xref linkend="IgnoreWords" />).
  2213. </para>
  2214. </refsect1>
  2215. <refsect1>
  2216. <title>Default</title>
  2217. <para> 1 (enabled) </para>
  2218. </refsect1>
  2219. </refentry>
  2220. <!-- *** IGNOREWORDS *** -->
  2221. <refentry id="IgnoreWords">
  2222. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  2223. <refnamediv>
  2224. <refname>IgnoreWords</refname>
  2225. <refpurpose>ignore specified words</refpurpose>
  2226. </refnamediv>
  2227. <refsynopsisdiv><programlisting>
  2228. <![CDATA[
  2229. <set IgnoreWords="there about">
  2230. ]]>
  2231. </programlisting></refsynopsisdiv>
  2232. <refsect1>
  2233. <title>Description</title>
  2234. <para>
  2235. Sometimes words in the "most used words" appears which you don't want to
  2236. see, with this option you can ignore these words. It also applies to the
  2237. "most referenced nicks" section. It's a space separated list of words.
  2238. You can use * like in nick aliases.
  2239. Can not be used in a channel-only context.
  2240. </para>
  2241. </refsect1>
  2242. <refsect1>
  2243. <title>Default</title>
  2244. <para> unset </para>
  2245. </refsect1>
  2246. </refentry>
  2247. <!-- *** NOIGNOREDQUOTES *** -->
  2248. <refentry id="NoIgnoredQuotes">
  2249. <refmeta> <refentrytitle>NoIgnoredQuotes</refentrytitle> </refmeta>
  2250. <refnamediv>
  2251. <refname>NoIgnoredQuotes</refname>
  2252. <refpurpose>Control random quote output</refpurpose>
  2253. </refnamediv>
  2254. <refsynopsisdiv><programlisting>
  2255. <![CDATA[
  2256. <set NoIgnoredQuotes="1">
  2257. ]]>
  2258. </programlisting></refsynopsisdiv>
  2259. <refsect1>
  2260. <title>Description</title>
  2261. <para>
  2262. When set to "1", pisg will not output quotes containing ignored words.
  2263. Pisg will output a blank line after trying 20 random quotes if all 20 random quotes were ignored.
  2264. </para>
  2265. </refsect1>
  2266. <refsect1>
  2267. <title>Default</title>
  2268. <para> 0 </para>
  2269. </refsect1>
  2270. </refentry>
  2271. <!-- *** FOULWORDS *** -->
  2272. <refentry id="FoulWords">
  2273. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  2274. <refnamediv>
  2275. <refname>FoulWords</refname>
  2276. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  2277. </refnamediv>
  2278. <refsynopsisdiv><programlisting>
  2279. <![CDATA[
  2280. <set FoulWords="ass fuck bitch">
  2281. ]]>
  2282. </programlisting></refsynopsisdiv>
  2283. <refsect1>
  2284. <title>Description</title>
  2285. <para>
  2286. There is a section in the "Most interesting numbers" which tells who had
  2287. a "dirty mouth" - here you can define which words are considered being
  2288. bad/foul. It is a space separated list of words.
  2289. You can use * like in nick aliases.
  2290. Can not be used in a channel-only context.
  2291. </para>
  2292. </refsect1>
  2293. <refsect1>
  2294. <title>Default</title>
  2295. <para> ass fuck bitch shit scheisse kacke arsch ficker ficken schlampe </para>
  2296. </refsect1>
  2297. </refentry>
  2298. <!-- *** VIOLENTWORDS *** -->
  2299. <refentry id="ViolentWords">
  2300. <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
  2301. <refnamediv>
  2302. <refname>ViolentWords</refname>
  2303. <refpurpose>specify words considered to be aggressive/violent</refpurpose>
  2304. </refnamediv>
  2305. <refsynopsisdiv><programlisting>
  2306. <![CDATA[
  2307. <set ViolentWords="slaps beats kick">
  2308. ]]>
  2309. </programlisting></refsynopsisdiv>
  2310. <refsect1>
  2311. <title>Description</title>
  2312. <para>
  2313. There is a section in the "Most interesting numbers" which tells who is
  2314. most "aggressive" - here you can define which words are considered being
  2315. "violent". It is a space separated list of words. You can use * like in
  2316. nick aliases. Can not be used in a channel-only context.
  2317. </para>
  2318. </refsect1>
  2319. <refsect1>
  2320. <title>Default</title>
  2321. <para> slaps beats smacks </para>
  2322. </refsect1>
  2323. </refentry>
  2324. <refentry id="BadUrls">
  2325. <refmeta> <refentrytitle>BadUrls</refentrytitle> </refmeta>
  2326. <refnamediv>
  2327. <refname>BadUrls</refname>
  2328. <refpurpose>words that keep a URL out of the URL statistics</refpurpose>
  2329. </refnamediv>
  2330. <refsynopsisdiv><programlisting>
  2331. <![CDATA[
  2332. <channel="#channel">
  2333. Logfile = "channel.log"
  2334. Format = "xchat"
  2335. BadUrls = "imagetwist imgur.com postimg.cc/*"
  2336. </channel>
  2337. <set BadUrls="imagetwist imgur.com postimg.cc/*">
  2338. ]]>
  2339. </programlisting></refsynopsisdiv>
  2340. <refsect1>
  2341. <title>Description</title>
  2342. <para>
  2343. BadUrls is a list of words, separated by spaces, much like <xref linkend="FoulWords" />.
  2344. A URL that contains any of the words is not counted, so it never shows up in
  2345. "Most referenced URLs" (see <xref linkend="ShowMru" />). Use it to keep spam and
  2346. unwanted image hosts out of the statistics.
  2347. A word matches anywhere in the URL, whatever the case, so "imgur.com" also
  2348. removes "https://i.imgur.com/abc.png". Two wildcards are understood: * stands for
  2349. any run of characters and ? for exactly one character. So "postimg.cc/*" removes
  2350. every link to postimg.cc (including "i.postimg.cc/x.png") but not
  2351. "example.org/postimg.cc", where nothing follows the name, and "*.example.org/*"
  2352. removes links on any subdomain of example.org but not on example.org itself.
  2353. Apart from the wildcards the words are plain text, not regular expressions, so
  2354. characters such as . + ( ) [ ] | mean exactly themselves. A lone * would remove every
  2355. URL. To hide a single exact address instead, use the
  2356. <link linkend="ignoring-links">link ignore</link> setting.
  2357. </para>
  2358. </refsect1>
  2359. <refsect1>
  2360. <title>Default</title>
  2361. <para> unset (no URLs are removed) </para>
  2362. </refsect1>
  2363. </refentry>
  2364. <!-- *** MinQuote *** -->
  2365. <refentry id="MinQuote">
  2366. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  2367. <refnamediv>
  2368. <refname>MinQuote</refname>
  2369. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  2370. </refnamediv>
  2371. <refsynopsisdiv><programlisting>
  2372. <![CDATA[
  2373. <channel="#channel">
  2374. Logfile = "channel.log"
  2375. Format = "xchat"
  2376. MinQuote = "10"
  2377. </channel>
  2378. <set MinQuote="5">
  2379. ]]>
  2380. </programlisting></refsynopsisdiv>
  2381. <refsect1>
  2382. <title>Description</title>
  2383. <para>
  2384. The random quotes displayed in the "Most Active Nicks" section will be
  2385. picked from a length range. With this option you can change the minimum
  2386. number of letters required for a random quote. Also see the
  2387. <xref linkend="MaxQuote" /> option. Note that pisg will still choose a
  2388. short quote if it cannot find a longer one.
  2389. </para>
  2390. </refsect1>
  2391. <refsect1>
  2392. <title>Default</title>
  2393. <para> 25 </para>
  2394. </refsect1>
  2395. </refentry>
  2396. <!-- *** MaxQuote *** -->
  2397. <refentry id="MaxQuote">
  2398. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  2399. <refnamediv>
  2400. <refname>MaxQuote</refname>
  2401. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  2402. </refnamediv>
  2403. <refsynopsisdiv><programlisting>
  2404. <![CDATA[
  2405. <channel="#channel">
  2406. Logfile = "channel.log"
  2407. Format = "xchat"
  2408. MaxQuote = "70"
  2409. </channel>
  2410. <set MaxQuote="100">
  2411. ]]>
  2412. </programlisting></refsynopsisdiv>
  2413. <refsect1>
  2414. <title>Description</title>
  2415. <para>
  2416. The random quotes displayed in the "Most Active Nicks" section will be
  2417. picked from a length range. With this option you can change the maximum
  2418. number of letters required for a random quote. Also see the
  2419. <xref linkend="MinQuote" /> option.
  2420. </para>
  2421. </refsect1>
  2422. <refsect1>
  2423. <title>Default</title>
  2424. <para> 65 </para>
  2425. </refsect1>
  2426. </refentry>
  2427. <!-- *** WORDLENGTH *** -->
  2428. <refentry id="WordLength">
  2429. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  2430. <refnamediv>
  2431. <refname>WordLength</refname>
  2432. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  2433. </refnamediv>
  2434. <refsynopsisdiv><programlisting>
  2435. <![CDATA[
  2436. <channel="#channel">
  2437. Logfile = "channel.log"
  2438. Format = "xchat"
  2439. WordLength = "10"
  2440. </channel>
  2441. <set WordLength="2">
  2442. ]]>
  2443. </programlisting></refsynopsisdiv>
  2444. <refsect1>
  2445. <title>Description</title>
  2446. <para>
  2447. The "Most Used Words" section on the stats page display the most used
  2448. words. The default is that a word only appears if it is longer than 5
  2449. characters. With this option you can change that minimum.
  2450. </para>
  2451. </refsect1>
  2452. <refsect1>
  2453. <title>Default</title>
  2454. <para> 5 </para>
  2455. </refsect1>
  2456. </refentry>
  2457. <!-- *** QUOTEWIDTH *** -->
  2458. <refentry id="QuoteWidth">
  2459. <refmeta> <refentrytitle>QuoteWidth</refentrytitle> </refmeta>
  2460. <refnamediv>
  2461. <refname>QuoteWidth</refname>
  2462. <refpurpose>maximum allowed length of a "word" with no spaces</refpurpose>
  2463. </refnamediv>
  2464. <refsynopsisdiv><programlisting>
  2465. <![CDATA[
  2466. <channel="#channel">
  2467. Logfile = "channel.log"
  2468. Format = "xchat"
  2469. QuoteWidth = "48"
  2470. </channel>
  2471. <set QuoteWidth="48">
  2472. ]]>
  2473. </programlisting></refsynopsisdiv>
  2474. <refsect1>
  2475. <title>Description</title>
  2476. <para>
  2477. Pisg will automatically insert a space in words that have a length
  2478. over the amount QuoteWidth is set to. When used in breaking up
  2479. URLs it will insert a space in the displayed URL, but not in the
  2480. actual URL referenced by the HREF.
  2481. </para>
  2482. </refsect1>
  2483. <refsect1>
  2484. <title>Default</title>
  2485. <para> 80</para>
  2486. </refsect1>
  2487. </refentry>
  2488. <!-- *** BIGNUMBERSTHRESHOLD *** -->
  2489. <refentry id="BigNumbersThreshold">
  2490. <refmeta> <refentrytitle>BigNumbersThreshold</refentrytitle> </refmeta>
  2491. <refnamediv>
  2492. <refname>BigNumbersThreshold</refname>
  2493. <refpurpose>Minimum number of lines per user for some "Big Numbers" statistics</refpurpose>
  2494. </refnamediv>
  2495. <refsynopsisdiv><programlisting>
  2496. <![CDATA[
  2497. <channel="#channel">
  2498. Logfile = "channel.log"
  2499. Format = "xchat"
  2500. BigNumbersThreshold = "10"
  2501. </channel>
  2502. <set BigNumbersThreshold="sqrt">
  2503. ]]>
  2504. </programlisting></refsynopsisdiv>
  2505. <refsect1>
  2506. <title>Description</title>
  2507. <para>
  2508. Pisg will ignore users with less than this setting lines in the "questions
  2509. asked", "shouts loudest", "CAPSLOCK", "longest line", "most sad", and "most
  2510. happy" sections. If the setting is "sqrt" (the default), it will be
  2511. dynamically replaced with the square root of the number of lines of the
  2512. most active nick. See also <xref linkend="ShowOnlyTop" />.
  2513. </para>
  2514. </refsect1>
  2515. <refsect1>
  2516. <title>Default</title>
  2517. <para> sqrt </para>
  2518. </refsect1>
  2519. </refentry>
  2520. <!-- *** ACTIVENICKS *** -->
  2521. <refentry id="ActiveNicks">
  2522. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  2523. <refnamediv>
  2524. <refname>ActiveNicks</refname>
  2525. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  2526. </refnamediv>
  2527. <refsynopsisdiv><programlisting>
  2528. <![CDATA[
  2529. <channel="#channel">
  2530. Logfile = "channel.log"
  2531. Format = "mIRC"
  2532. ActiveNicks = "50"
  2533. </channel>
  2534. <set ActiveNicks="10">
  2535. ]]>
  2536. </programlisting></refsynopsisdiv>
  2537. <refsect1>
  2538. <title>Description</title>
  2539. <para>
  2540. With this option you can define how many nicks you want to appear in the
  2541. "Most Active Nicks" section on the stats page.
  2542. </para>
  2543. </refsect1>
  2544. <refsect1>
  2545. <title>Default</title>
  2546. <para> 25 </para>
  2547. </refsect1>
  2548. </refentry>
  2549. <!-- *** ACTIVENICKS2 *** -->
  2550. <refentry id="ActiveNicks2">
  2551. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  2552. <refnamediv>
  2553. <refname>ActiveNicks2</refname>
  2554. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  2555. </refnamediv>
  2556. <refsynopsisdiv><programlisting>
  2557. <![CDATA[
  2558. <channel="#channel">
  2559. Logfile = "channel.log"
  2560. Format = "mIRC"
  2561. ActiveNicks2 = "25"
  2562. </channel>
  2563. <set ActiveNicks2="10">
  2564. ]]>
  2565. </programlisting></refsynopsisdiv>
  2566. <refsect1>
  2567. <title>Description</title>
  2568. <para>
  2569. With this option you can define how many nicks you want to appear in the
  2570. "These didn't make it" section on the stats page.
  2571. </para>
  2572. </refsect1>
  2573. <refsect1>
  2574. <title>Default</title>
  2575. <para> 30 </para>
  2576. </refsect1>
  2577. </refentry>
  2578. <!-- *** ACTIVENICKSBYHOUR *** -->
  2579. <refentry id="ActiveNicksByHour">
  2580. <refmeta> <refentrytitle>ActiveNicksByHour</refentrytitle> </refmeta>
  2581. <refnamediv>
  2582. <refname>ActiveNicksByHour</refname>
  2583. <refpurpose>number of nicks to show in "Most Active Nicks By Hour"</refpurpose>
  2584. </refnamediv>
  2585. <refsynopsisdiv><programlisting>
  2586. <![CDATA[
  2587. <channel="#channel">
  2588. Logfile = "channel.log"
  2589. Format = "mIRC"
  2590. ActiveNicksByHour = "25"
  2591. </channel>
  2592. <set ActiveNicksByHour="10">
  2593. ]]>
  2594. </programlisting></refsynopsisdiv>
  2595. <refsect1>
  2596. <title>Description</title>
  2597. <para>
  2598. With this option you can define how many nicks you want to appear in the
  2599. "Most Active Nicks By Hour" section on the stats page.
  2600. </para>
  2601. </refsect1>
  2602. <refsect1>
  2603. <title>Default</title>
  2604. <para> 10 </para>
  2605. </refsect1>
  2606. </refentry>
  2607. <!-- *** MOSTNICKSHISTORY *** -->
  2608. <refentry id="MostNicksHistory">
  2609. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  2610. <refnamediv>
  2611. <refname>MostNicksHistory</refname>
  2612. <refpurpose>maximum number of nicks to show in "users with most nicknames"</refpurpose>
  2613. </refnamediv>
  2614. <refsynopsisdiv><programlisting>
  2615. <![CDATA[
  2616. <channel="#channel">
  2617. Logfile = "channel.log"
  2618. Format = "mIRC"
  2619. MostNicksHistory = "2"
  2620. </channel>
  2621. <set MostNicksHistory="10">
  2622. ]]>
  2623. </programlisting></refsynopsisdiv>
  2624. <refsect1>
  2625. <title>Description</title>
  2626. <para>
  2627. With this option you can define how many nicks you want to appear in
  2628. the "Users with most nicknames" section. See also
  2629. <xref linkend="ShowMostNicks" /> and <xref linkend="MostNicksVerbose" />.
  2630. </para>
  2631. </refsect1>
  2632. <refsect1>
  2633. <title>Default</title>
  2634. <para> 5 </para>
  2635. </refsect1>
  2636. </refentry>
  2637. <!-- *** MOSTNICKSVERBOSE *** -->
  2638. <refentry id="MostNicksVerbose">
  2639. <refmeta> <refentrytitle>MostNicksVerbose</refentrytitle> </refmeta>
  2640. <refnamediv>
  2641. <refname>MostNicksVerbose</refname>
  2642. <refpurpose>show nicks used in "most nicks"</refpurpose>
  2643. </refnamediv>
  2644. <refsynopsisdiv><programlisting>
  2645. <![CDATA[
  2646. <channel="#channel">
  2647. Logfile = "channel.log"
  2648. Format = "mIRC"
  2649. MostNicksVerbose = "0"
  2650. </channel>
  2651. <set MostNicksVerbose="1">
  2652. ]]>
  2653. </programlisting></refsynopsisdiv>
  2654. <refsect1>
  2655. <title>Description</title>
  2656. <para>
  2657. By disabling this option you can stop pisg from displaying all the nicks
  2658. a user has had in the "Most used nicks" section.
  2659. See also <xref linkend="ShowMostNicks" />,
  2660. <xref linkend="MostNicksHistory" />, and <xref linkend="NickLimit" />.
  2661. </para>
  2662. </refsect1>
  2663. <refsect1>
  2664. <title>Default</title>
  2665. <para> 1 (enabled) </para>
  2666. </refsect1>
  2667. </refentry>
  2668. <!-- *** TOPICHISTORY *** -->
  2669. <refentry id="TopicHistory">
  2670. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  2671. <refnamediv>
  2672. <refname>TopicHistory</refname>
  2673. <refpurpose>maximum number of topics to show</refpurpose>
  2674. </refnamediv>
  2675. <refsynopsisdiv><programlisting>
  2676. <![CDATA[
  2677. <channel="#channel">
  2678. Logfile = "channel.log"
  2679. Format = "mIRC"
  2680. TopicHistory = "2"
  2681. </channel>
  2682. <set TopicHistory="10">
  2683. ]]>
  2684. </programlisting></refsynopsisdiv>
  2685. <refsect1>
  2686. <title>Description</title>
  2687. <para>
  2688. With this option you can define how many topics you want to appear in
  2689. the "Latest topics" section.
  2690. </para>
  2691. </refsect1>
  2692. <refsect1>
  2693. <title>Default</title>
  2694. <para> 3 </para>
  2695. </refsect1>
  2696. </refentry>
  2697. <!-- *** URLHISTORY *** -->
  2698. <refentry id="UrlHistory">
  2699. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  2700. <refnamediv>
  2701. <refname>UrlHistory</refname>
  2702. <refpurpose>maximum number of URLs to show</refpurpose>
  2703. </refnamediv>
  2704. <refsynopsisdiv><programlisting>
  2705. <![CDATA[
  2706. <channel="#channel">
  2707. Logfile = "channel.log"
  2708. Format = "mIRC"
  2709. UrlHistory = "2"
  2710. </channel>
  2711. <set UrlHistory="10">
  2712. ]]>
  2713. </programlisting></refsynopsisdiv>
  2714. <refsect1>
  2715. <title>Description</title>
  2716. <para>
  2717. With this option you can define how many URLs you want to appear in
  2718. the "Most referenced URLs" section. See also <xref linkend="ShowMru" />.
  2719. </para>
  2720. </refsect1>
  2721. <refsect1>
  2722. <title>Default</title>
  2723. <para> 5 </para>
  2724. </refsect1>
  2725. </refentry>
  2726. <!-- *** CHARTSHISTORY *** -->
  2727. <refentry id="ChartsHistory">
  2728. <refmeta> <refentrytitle>ChartsHistory</refentrytitle> </refmeta>
  2729. <refnamediv>
  2730. <refname>ChartsHistory</refname>
  2731. <refpurpose>number of songs to show</refpurpose>
  2732. </refnamediv>
  2733. <refsynopsisdiv><programlisting>
  2734. <![CDATA[
  2735. <channel="#channel">
  2736. Logfile = "channel.log"
  2737. Format = "mIRC"
  2738. ChartsHistory = "10"
  2739. </channel>
  2740. <set ChartsHistory="5">
  2741. ]]>
  2742. </programlisting></refsynopsisdiv>
  2743. <refsect1>
  2744. <title>Description</title>
  2745. <para>
  2746. This option sets the number of songs that will be show in the channel music
  2747. charts. See also <xref linkend="ShowCharts" /> and
  2748. <xref linkend="ChartsRegexp" />.
  2749. </para>
  2750. </refsect1>
  2751. <refsect1>
  2752. <title>Default</title>
  2753. <para> 5 (the Top Five) </para>
  2754. </refsect1>
  2755. </refentry>
  2756. <!-- *** CHARTSREGEXP *** -->
  2757. <refentry id="ChartsRegexp">
  2758. <refmeta> <refentrytitle>ChartsRegexp</refentrytitle> </refmeta>
  2759. <refnamediv>
  2760. <refname>ChartsRegexp</refname>
  2761. <refpurpose>how to recognize songs played</refpurpose>
  2762. </refnamediv>
  2763. <refsynopsisdiv><programlisting>
  2764. <![CDATA[
  2765. <channel="#channel">
  2766. Logfile = "channel.log"
  2767. Format = "mIRC"
  2768. ChartsRegexp = "(?:is )?(?:np:|(?:now )?playing:? |listening to:? )(?:MPEG stream from)?\s*(.*)"
  2769. </channel>
  2770. ]]>
  2771. </programlisting></refsynopsisdiv>
  2772. <refsect1>
  2773. <title>Description</title>
  2774. <para>
  2775. This option is a perl regexp that is used to recognize songs played. Please
  2776. tell the pisg mailing list if you have a better default. The regexp MUST
  2777. contain a single () pair to extract the song name. See also the perlre(1)
  2778. manpage, <xref linkend="ShowCharts" /> and <xref linkend="ChartsHistory" />.
  2779. </para>
  2780. </refsect1>
  2781. <refsect1>
  2782. <title>Default</title>
  2783. <para> "(?:np:|(?:now )?playing:? (?:MPEG stream from)?)\s*(.*)" </para>
  2784. </refsect1>
  2785. </refentry>
  2786. <!-- *** WORDHISTORY *** -->
  2787. <refentry id="WordHistory">
  2788. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  2789. <refnamediv>
  2790. <refname>WordHistory</refname>
  2791. <refpurpose>maximum number of words to show</refpurpose>
  2792. </refnamediv>
  2793. <refsynopsisdiv><programlisting>
  2794. <![CDATA[
  2795. <channel="#channel">
  2796. Logfile = "channel.log"
  2797. Format = "mIRC"
  2798. WordHistory = "5"
  2799. </channel>
  2800. <set WordHistory="15">
  2801. ]]>
  2802. </programlisting></refsynopsisdiv>
  2803. <refsect1>
  2804. <title>Description</title>
  2805. <para>
  2806. With this option you can define how many words you want to appear in
  2807. the "Most used words" section. See also <xref linkend="ShowMuw" />.
  2808. </para>
  2809. </refsect1>
  2810. <refsect1>
  2811. <title>Default</title>
  2812. <para> 10 </para>
  2813. </refsect1>
  2814. </refentry>
  2815. <!-- *** NICKHISTORY *** -->
  2816. <refentry id="NickHistory">
  2817. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  2818. <refnamediv>
  2819. <refname>NickHistory</refname>
  2820. <refpurpose>maximum number of nicks to show in "Most referenced nicks"</refpurpose>
  2821. </refnamediv>
  2822. <refsynopsisdiv><programlisting>
  2823. <![CDATA[
  2824. <channel="#channel">
  2825. logfile = "channel.log"
  2826. format = "mIRC"
  2827. NickHistory = "3"
  2828. </channel>
  2829. <set NickHistory="15">
  2830. ]]>
  2831. </programlisting></refsynopsisdiv>
  2832. <refsect1>
  2833. <title>Description</title>
  2834. <para>
  2835. With this option you can define how many nicks you want to appear in
  2836. the "Most referenced nicks" section. See also <xref linkend="ShowMrn" />.
  2837. </para>
  2838. </refsect1>
  2839. <refsect1>
  2840. <title>Default</title>
  2841. <para> 5 </para>
  2842. </refsect1>
  2843. </refentry>
  2844. <!-- *** SmileyHistory *** -->
  2845. <refentry id="SmileyHistory">
  2846. <refmeta> <refentrytitle>SmileyHistory</refentrytitle> </refmeta>
  2847. <refnamediv>
  2848. <refname>SmileyHistory</refname>
  2849. <refpurpose>maximum number of smileys to show in smiley stats</refpurpose>
  2850. </refnamediv>
  2851. <refsynopsisdiv><programlisting>
  2852. <![CDATA[
  2853. <channel="#channel">
  2854. logfile = "channel.log"
  2855. format = "mIRC"
  2856. SmileyHistory = "3"
  2857. </channel>
  2858. <set SmileyHistory="15">
  2859. ]]>
  2860. </programlisting></refsynopsisdiv>
  2861. <refsect1>
  2862. <title>Description</title>
  2863. <para>
  2864. At most this many smileys will appear in smiley stats.
  2865. See also <xref linkend="ShowSmileys" />.
  2866. </para>
  2867. </refsect1>
  2868. <refsect1>
  2869. <title>Default</title>
  2870. <para> 10 </para>
  2871. </refsect1>
  2872. </refentry>
  2873. <!-- *** KarmaHistory *** -->
  2874. <refentry id="KarmaHistory">
  2875. <refmeta> <refentrytitle>KarmaHistory</refentrytitle> </refmeta>
  2876. <refnamediv>
  2877. <refname>KarmaHistory</refname>
  2878. <refpurpose>maximum number of nicks to show in "Karma"</refpurpose>
  2879. </refnamediv>
  2880. <refsynopsisdiv><programlisting>
  2881. <![CDATA[
  2882. <channel="#channel">
  2883. logfile = "channel.log"
  2884. format = "mIRC"
  2885. KarmaHistory = "3"
  2886. </channel>
  2887. <set KarmaHistory="15">
  2888. ]]>
  2889. </programlisting></refsynopsisdiv>
  2890. <refsect1>
  2891. <title>Description</title>
  2892. <para>
  2893. At most this many nicks will appear in the good and bad karma stats.
  2894. See also <xref linkend="ShowKarma" /> and <xref linkend="NickLimit" />.
  2895. </para>
  2896. </refsect1>
  2897. <refsect1>
  2898. <title>Default</title>
  2899. <para> 5 </para>
  2900. </refsect1>
  2901. </refentry>
  2902. <!-- *** NICKTRACKING *** -->
  2903. <refentry id="NickTracking">
  2904. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  2905. <refnamediv>
  2906. <refname>NickTracking</refname>
  2907. <refpurpose>track nick changes and create aliases</refpurpose>
  2908. </refnamediv>
  2909. <refsynopsisdiv><programlisting>
  2910. <![CDATA[
  2911. <set NickTracking="1">
  2912. ]]>
  2913. </programlisting></refsynopsisdiv>
  2914. <refsect1>
  2915. <title>Description</title>
  2916. <para>
  2917. Enabling this option will track nick changes as well as it can. It will
  2918. then automatically create aliases for these nicks. Useful for
  2919. <xref linkend="ShowMostNicks" /> and other stats.
  2920. Nick tracking does not work for log formats that do not use the nickname
  2921. for the person running the logger, but only show "You" there.
  2922. See <xref linkend="Maintainer" />.
  2923. </para>
  2924. </refsect1>
  2925. <refsect1>
  2926. <title>Default</title>
  2927. <para> 0 (disabled) </para>
  2928. </refsect1>
  2929. </refentry>
  2930. <!-- *** NickLimit *** -->
  2931. <refentry id="NickLimit">
  2932. <refmeta> <refentrytitle>NickLimit</refentrytitle> </refmeta>
  2933. <refnamediv>
  2934. <refname>NickLimit</refname>
  2935. <refpurpose>maximum number of nicks in lists</refpurpose>
  2936. </refnamediv>
  2937. <refsynopsisdiv><programlisting>
  2938. <![CDATA[
  2939. <set NickLimit="0">
  2940. ]]>
  2941. </programlisting></refsynopsisdiv>
  2942. <refsect1>
  2943. <title>Description</title>
  2944. <para>
  2945. This option trims lists of nicks to a maximum length, replacing the rest
  2946. with "...". Setting to 0 disables trimming. Affected are the used nicks in
  2947. the "Users with most nicknames" section, nicks in "Most active genders",
  2948. and nicks in the "Good/bad karma by" columns. See
  2949. <xref linkend="ShowMostNicks" />, <xref linkend="ShowKarma" />, and
  2950. <xref linkend="ShowActiveGenders" />.
  2951. </para>
  2952. </refsect1>
  2953. <refsect1>
  2954. <title>Default</title>
  2955. <para> 10 </para>
  2956. </refsect1>
  2957. </refentry>
  2958. <!-- *** SORTBYWORDS *** -->
  2959. <refentry id="SortByWords">
  2960. <refmeta> <refentrytitle>SortByWords</refentrytitle> </refmeta>
  2961. <refnamediv>
  2962. <refname>SortByWords</refname>
  2963. <refpurpose>sort "most active nicks" by words</refpurpose>
  2964. </refnamediv>
  2965. <refsynopsisdiv><programlisting>
  2966. <![CDATA[
  2967. <channel="#channel">
  2968. logfile = "channel.log"
  2969. format = "xchat"
  2970. SortByWords = "0"
  2971. </channel>
  2972. <set SortByWords="1">
  2973. ]]>
  2974. </programlisting></refsynopsisdiv>
  2975. <refsect1>
  2976. <title>Description</title>
  2977. <para>
  2978. The default for the "Most Active Nicks" section - is to sort users by
  2979. lines. Enabling this will sort it by words instead.
  2980. </para>
  2981. </refsect1>
  2982. <refsect1>
  2983. <title>Default</title>
  2984. <para> 0 (disabled) </para>
  2985. </refsect1>
  2986. </refentry>
  2987. </chapter>
  2988. <chapter id="reference-pictures">
  2989. <title>Picture options</title>
  2990. <!-- *** PICLOCATION *** -->
  2991. <refentry id="PicLocation">
  2992. <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
  2993. <refnamediv>
  2994. <refname>PicLocation</refname>
  2995. <refpurpose>path to images on stats page</refpurpose>
  2996. </refnamediv>
  2997. <refsynopsisdiv><programlisting>
  2998. <![CDATA[
  2999. <set PicLocation="gfx/">
  3000. ]]>
  3001. </programlisting></refsynopsisdiv>
  3002. <refsect1>
  3003. <title>Description</title>
  3004. <para>
  3005. The location to the pictures used on the stats page - not the user
  3006. pictures but the different bars in "Most Active Times".
  3007. </para>
  3008. </refsect1>
  3009. <refsect1>
  3010. <title>Default</title>
  3011. <para> Current directory </para>
  3012. </refsect1>
  3013. </refentry>
  3014. <!-- *** USERPICS *** -->
  3015. <refentry id="UserPics">
  3016. <refmeta> <refentrytitle>UserPics</refentrytitle> </refmeta>
  3017. <refnamediv>
  3018. <refname>UserPics</refname>
  3019. <refpurpose>number of user pictures per row</refpurpose>
  3020. </refnamediv>
  3021. <refsynopsisdiv><programlisting>
  3022. <![CDATA[
  3023. <channel="#channel">
  3024. Logfile = "channel.log"
  3025. UserPics = "no"
  3026. </channel>
  3027. <set UserPics="3">
  3028. ]]>
  3029. </programlisting></refsynopsisdiv>
  3030. <refsect1>
  3031. <title>Description</title>
  3032. <para>
  3033. <command>UserPics</command> allows you to configure the number of user
  3034. pictures per row. Per default, one picture will be shown. Since pictures
  3035. are usually higher than one line of text, this lets the table grow. With
  3036. settings greater than 1, several pictures will be placed next to each
  3037. other. A good setting would be <command>UserPics</command>=3 and pictures
  3038. of size 60x60. Set <command>UserPics</command> to no or 0 to disable user
  3039. pictures. The latter is useful if you share a user config file between
  3040. channels and want to disable user pictures for some channels.
  3041. </para>
  3042. </refsect1>
  3043. <refsect1>
  3044. <title>Default</title>
  3045. <para> yes (1) </para>
  3046. </refsect1>
  3047. </refentry>
  3048. <!-- *** IMAGEPATH *** -->
  3049. <refentry id="ImagePath">
  3050. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  3051. <refnamediv>
  3052. <refname>ImagePath</refname>
  3053. <refpurpose>path to user pictures (HTML page)</refpurpose>
  3054. </refnamediv>
  3055. <refsynopsisdiv><programlisting>
  3056. <![CDATA[
  3057. <channel="#channel">
  3058. Logfile = "channel.log"
  3059. Format = "mIRC"
  3060. ImagePath = "userpics/"
  3061. </channel>
  3062. <set ImagePath="users/">
  3063. ]]>
  3064. </programlisting></refsynopsisdiv>
  3065. <refsect1>
  3066. <title>Description</title>
  3067. <para>
  3068. <command>ImagePath</command> defines the path to where user
  3069. pictures are located, relative to the HTML page generated. The default is
  3070. that user pictures is located in the same directory as the HTML page.
  3071. </para>
  3072. </refsect1>
  3073. <refsect1>
  3074. <title>Default</title>
  3075. <para> current directory </para>
  3076. </refsect1>
  3077. </refentry>
  3078. <!-- *** DEFAULTPIC *** -->
  3079. <refentry id="DefaultPic">
  3080. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  3081. <refnamediv>
  3082. <refname>DefaultPic</refname>
  3083. <refpurpose>use a default user picture</refpurpose>
  3084. </refnamediv>
  3085. <refsynopsisdiv><programlisting>
  3086. <![CDATA[
  3087. <channel="#channel">
  3088. Logfile = "channel.log"
  3089. Format = "mIRC"
  3090. DefaultPic = "not_available.jpg"
  3091. </channel>
  3092. <set DefaultPic="unknown.gif">
  3093. ]]>
  3094. </programlisting></refsynopsisdiv>
  3095. <refsect1>
  3096. <title>Description</title>
  3097. <para>
  3098. <command>DefaultPic</command> defines a picture to be displayed for all
  3099. users which have no other picture defined in the <command>user</command>
  3100. element. This is good for showing "No picture available" or something.
  3101. May contain globbing patterns, see <xref linkend="ImageGlobPath" /> below.
  3102. </para>
  3103. </refsect1>
  3104. <refsect1>
  3105. <title>Default</title>
  3106. <para> unset </para>
  3107. </refsect1>
  3108. </refentry>
  3109. <!-- *** IMAGEGLOBPATH *** -->
  3110. <refentry id="ImageGlobPath">
  3111. <refmeta> <refentrytitle>ImageGlobPath</refentrytitle> </refmeta>
  3112. <refnamediv>
  3113. <refname>ImageGlobPath</refname>
  3114. <refpurpose>path to user pictures (output generation)</refpurpose>
  3115. </refnamediv>
  3116. <refsynopsisdiv><programlisting>
  3117. <![CDATA[
  3118. <channel="#channel">
  3119. Logfile = "channel.log"
  3120. Format = "mIRC"
  3121. ImageGlobPath = "users/"
  3122. </channel>
  3123. <set ImageGlobPath="/var/www/pisg/">
  3124. <set DefaultPic="default-??.gif">
  3125. ]]>
  3126. </programlisting></refsynopsisdiv>
  3127. <refsect1>
  3128. <title>Description</title>
  3129. <para>
  3130. <command>ImageGlobPath</command> defines the path to the directory where
  3131. user pictures are located, relative to the current directory. This setting
  3132. is used to choose random pictures if ? or * (globbing characters) are used
  3133. in the picture name. ? matches a single character, * matches a (possibly
  3134. empty) string. The default is the <xref linkend="ImagePath" /> setting.
  3135. (NB: This setting will be different from <xref linkend="ImagePath" /> if
  3136. the latter is not relative to the current directory, e.g. if you are
  3137. writing the HTML file outside of the current directory.)
  3138. </para>
  3139. </refsect1>
  3140. <refsect1>
  3141. <title>Default</title>
  3142. <para> current <xref linkend="ImagePath" /> setting </para>
  3143. </refsect1>
  3144. </refentry>
  3145. <!-- *** PICWIDTH *** -->
  3146. <refentry id="PicWidth">
  3147. <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
  3148. <refnamediv>
  3149. <refname>PicWidth</refname>
  3150. <refpurpose>define a standard width for user pictures</refpurpose>
  3151. </refnamediv>
  3152. <refsynopsisdiv><programlisting>
  3153. <![CDATA[
  3154. <channel="#channel">
  3155. Logfile = "channel.log"
  3156. Format = "mIRC"
  3157. PicWidth = "500"
  3158. </channel>
  3159. <set PicWidth="500">
  3160. ]]>
  3161. </programlisting></refsynopsisdiv>
  3162. <refsect1>
  3163. <title>Description</title>
  3164. <para>
  3165. <command>PicWidth</command> defines the standard width for user
  3166. pictures. Setting the 'width' attribute of image-elements on the
  3167. outputted stats page. See also <xref linkend="PicHeight" />.
  3168. </para>
  3169. </refsect1>
  3170. <refsect1>
  3171. <title>Default</title>
  3172. <para> unset </para>
  3173. </refsect1>
  3174. </refentry>
  3175. <!-- *** PICHEIGHT *** -->
  3176. <refentry id="PicHeight">
  3177. <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
  3178. <refnamediv>
  3179. <refname>PicHeight</refname>
  3180. <refpurpose>define a standard height for user pictures</refpurpose>
  3181. </refnamediv>
  3182. <refsynopsisdiv><programlisting>
  3183. <![CDATA[
  3184. <channel="#channel">
  3185. Logfile = "channel.log"
  3186. Format = "mIRC"
  3187. PicHeight = "500"
  3188. </channel>
  3189. <set PicHeight="500">
  3190. ]]>
  3191. </programlisting></refsynopsisdiv>
  3192. <refsect1>
  3193. <title>Description</title>
  3194. <para>
  3195. <command>PicHeight</command> defines the standard height for user
  3196. pictures. Setting the 'height' attribute of image-elements on the
  3197. outputted stats page. See also <xref linkend="PicWidth" />.
  3198. </para>
  3199. </refsect1>
  3200. <refsect1>
  3201. <title>Default</title>
  3202. <para> unset </para>
  3203. </refsect1>
  3204. </refentry>
  3205. </chapter>
  3206. <chapter id="reference-misc">
  3207. <title>Misc options</title>
  3208. <!-- *** CHARSET *** -->
  3209. <refentry id="Charset">
  3210. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  3211. <refnamediv>
  3212. <refname>Charset</refname>
  3213. <refpurpose>character set to use for stats page</refpurpose>
  3214. </refnamediv>
  3215. <refsynopsisdiv><programlisting>
  3216. <![CDATA[
  3217. <channel="#channel">
  3218. Logfile = "channel.log"
  3219. Format = "xchat"
  3220. Charset = "utf-8"
  3221. </channel>
  3222. <set Charset="iso-8859-15">
  3223. ]]>
  3224. </programlisting></refsynopsisdiv>
  3225. <refsect1>
  3226. <title>Description</title>
  3227. <para>
  3228. The pisg stats page defines a character set in a meta tag, this can be
  3229. used if your country is using a different one than the default. Pisg
  3230. will also use this setting to convert the language templates from
  3231. <xref linkend="LangFile" /> if the language defines a source charset.
  3232. Note: you also have to tell your webserver to transmit the charset to
  3233. the browser. With Apache, use "AddDefaultCharset off" in the server
  3234. config.
  3235. </para>
  3236. </refsect1>
  3237. <refsect1>
  3238. <title>Default</title>
  3239. <para> iso-8859-1 </para>
  3240. </refsect1>
  3241. </refentry>
  3242. <!-- *** LOGCHARSET *** -->
  3243. <refentry id="LogCharset">
  3244. <refmeta> <refentrytitle>LogCharset</refentrytitle> </refmeta>
  3245. <refnamediv>
  3246. <refname>LogCharset</refname>
  3247. <refpurpose>character set for logfiles</refpurpose>
  3248. </refnamediv>
  3249. <refsynopsisdiv><programlisting>
  3250. <![CDATA[
  3251. <channel="#channel">
  3252. Logfile = "channel.log"
  3253. Format = "xchat"
  3254. Charset = "iso-8859-1"
  3255. LogCharset = "utf-8"
  3256. </channel>
  3257. <set Charset="iso-8859-15">
  3258. <set LogCharset="iso-8859-15">
  3259. ]]>
  3260. </programlisting></refsynopsisdiv>
  3261. <refsect1>
  3262. <title>Description</title>
  3263. <para>
  3264. If <command>LogCharset</command> is set and different from
  3265. <xref linkend="Charset" />, pisg will convert the charset using
  3266. Text::Iconv. Using this option slows down log processing.
  3267. </para>
  3268. </refsect1>
  3269. <refsect1>
  3270. <title>Default</title>
  3271. <para> empty (no conversion) </para>
  3272. </refsect1>
  3273. </refentry>
  3274. <!-- *** LOGCHARSETFALLBACK *** -->
  3275. <refentry id="LogCharsetFallback">
  3276. <refmeta> <refentrytitle>LogCharsetFallback</refentrytitle> </refmeta>
  3277. <refnamediv>
  3278. <refname>LogCharsetFallback</refname>
  3279. <refpurpose>fallback character set for logfiles</refpurpose>
  3280. </refnamediv>
  3281. <refsynopsisdiv><programlisting>
  3282. <![CDATA[
  3283. <channel="#channel">
  3284. Logfile = "channel.log"
  3285. Format = "xchat"
  3286. Charset = "utf-8"
  3287. LogCharset = "utf-8"
  3288. LogCharsetFallback = "iso-8859-1"
  3289. </channel>
  3290. <set Charset="utf-8">
  3291. <set LogCharset="utf-8">
  3292. <set LogCharsetFallback="iso-8859-15">
  3293. ]]>
  3294. </programlisting></refsynopsisdiv>
  3295. <refsect1>
  3296. <title>Description</title>
  3297. <para>
  3298. <command>LogCharsetFallback</command> defines a fallback charset for
  3299. the <xref linkend="LogCharset" /> conversion. This is useful if you
  3300. have mixed unicode/iso-8859-* logs. Pisg will first try the conversion
  3301. from <xref linkend="LogCharset" />. If that fails,
  3302. <command>LogCharsetFallback</command> is used. Note that this only works
  3303. for charsets where certain byte sequences are illegal, like UTF-8. (In
  3304. short: <command>LogCharset</command> = utf-8,
  3305. <command>LogCharsetFallback</command> = iso-8859-15 works, the other way
  3306. round does not.)
  3307. </para>
  3308. </refsect1>
  3309. <refsect1>
  3310. <title>Default</title>
  3311. <para> empty (no fallback conversion) </para>
  3312. </refsect1>
  3313. </refentry>
  3314. <!-- *** TIMEOFFSET *** -->
  3315. <refentry id="TimeOffset">
  3316. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  3317. <refnamediv>
  3318. <refname>TimeOffset</refname>
  3319. <refpurpose>use a different time zone than the local machine</refpurpose>
  3320. </refnamediv>
  3321. <refsynopsisdiv><programlisting>
  3322. <![CDATA[
  3323. <channel="#channel">
  3324. Logfile = "channel.log"
  3325. Format = "mIRC"
  3326. Maintainer = "John"
  3327. TimeOffset = "+5"
  3328. </channel>
  3329. <set TimeOffset="+2">
  3330. ]]>
  3331. </programlisting></refsynopsisdiv>
  3332. <refsect1>
  3333. <title>Description</title>
  3334. <para>
  3335. By default, pisg uses the time of the local machine to display the time
  3336. of the generated stats. Sometimes when you have a shell on an external
  3337. box, and it's in another country, you want to use another time. This is
  3338. accomplished by the <command>TimeOffset</command> command.
  3339. </para>
  3340. </refsect1>
  3341. <refsect1>
  3342. <title>Default</title>
  3343. <para> +0 </para>
  3344. </refsect1>
  3345. </refentry>
  3346. <!-- *** REGEXPALIASES *** -->
  3347. <refentry id="RegexpAliases">
  3348. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  3349. <refnamediv>
  3350. <refname>RegexpAliases</refname>
  3351. <refpurpose>use regular expressions in user aliases</refpurpose>
  3352. </refnamediv>
  3353. <refsynopsisdiv><programlisting>
  3354. <![CDATA[
  3355. <user nick="Joe" alias="Joe\d+">
  3356. <set RegexpAliases="1">
  3357. ]]>
  3358. </programlisting></refsynopsisdiv>
  3359. <refsect1>
  3360. <title>Description</title>
  3361. <para>
  3362. Enabling this option will make all aliases in &lt;user&gt; lines be
  3363. parsed as regular expressions; this setting also applies to the
  3364. <xref linkend="IgnoreWords" />, <xref linkend="FoulWords" />, and
  3365. <xref linkend="ViolentWords" /> settings.
  3366. </para>
  3367. </refsect1>
  3368. <refsect1>
  3369. <title>Default</title>
  3370. <para> 0 (disabled) </para>
  3371. </refsect1>
  3372. </refentry>
  3373. <!-- *** LANGFILE *** -->
  3374. <refentry id="LangFile">
  3375. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  3376. <refnamediv>
  3377. <refname>LangFile</refname>
  3378. <refpurpose>filename of language file</refpurpose>
  3379. </refnamediv>
  3380. <refsynopsisdiv><programlisting>
  3381. <![CDATA[
  3382. <set LangFile="mylang.txt">
  3383. ]]>
  3384. </programlisting></refsynopsisdiv>
  3385. <refsect1>
  3386. <title>Description</title>
  3387. <para>
  3388. With this option you have an alternative way to define the name and/or
  3389. path to the language file. Usually you don't have to touch this option.
  3390. </para>
  3391. </refsect1>
  3392. <refsect1>
  3393. <title>Default</title>
  3394. <para> lang.txt </para>
  3395. </refsect1>
  3396. </refentry>
  3397. <!-- *** CSSDIR *** -->
  3398. <refentry id="CssDir">
  3399. <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
  3400. <refnamediv>
  3401. <refname>CssDir</refname>
  3402. <refpurpose>path to directory with CSS files</refpurpose>
  3403. </refnamediv>
  3404. <refsynopsisdiv><programlisting>
  3405. <![CDATA[
  3406. <set CssDir="/usr/share/pisg/layout/">
  3407. ]]>
  3408. </programlisting></refsynopsisdiv>
  3409. <refsect1>
  3410. <title>Description</title>
  3411. <para>
  3412. <command>CssDir</command> is used to define the paths to the CSS files
  3413. (the <xref linkend="ColorScheme" />s). Usually you don't
  3414. need to change this. This setting is only used when statically including
  3415. the CSS file.
  3416. </para>
  3417. </refsect1>
  3418. <refsect1>
  3419. <title>Default</title>
  3420. <para> layout/ (in current directory) </para>
  3421. </refsect1>
  3422. </refentry>
  3423. <!-- *** HICELL *** -->
  3424. <refentry id="HiCell">
  3425. <refmeta> <refentrytitle>HiCell, HiCell2</refentrytitle> </refmeta>
  3426. <refnamediv>
  3427. <refname>HiCell, HiCell2</refname>
  3428. <refpurpose>colors for color gradient in most active nicks section</refpurpose>
  3429. </refnamediv>
  3430. <refsynopsisdiv><programlisting>
  3431. <![CDATA[
  3432. <set HiCell="#BABADD" HiCell2="#CCCCCC">
  3433. <set HiCell="">
  3434. ]]>
  3435. </programlisting></refsynopsisdiv>
  3436. <refsect1>
  3437. <title>Description</title>
  3438. <para>
  3439. <command>HiCell</command> and <command>HiCell2</command> define the colors
  3440. to be used for the color gradient in the most active nicks section. They should
  3441. match your <xref linkend="ColorScheme" />. When setting
  3442. <command>HiCell</command> the empty string (""), pisg will not generate a color
  3443. gradient; you might want to use this with <xref linkend="ColorScheme" />="none"
  3444. or <xref linkend="AltColorScheme" />.
  3445. </para>
  3446. </refsect1>
  3447. <refsect1>
  3448. <title>Default</title>
  3449. <para> #BABADD, #CCCCCC </para>
  3450. </refsect1>
  3451. </refentry>
  3452. <!-- *** LOGTYPE *** -->
  3453. <refentry id="LogType">
  3454. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  3455. <refnamediv>
  3456. <refname>LogType</refname>
  3457. <refpurpose>type of log (not the format of the log)</refpurpose>
  3458. </refnamediv>
  3459. <refsynopsisdiv><programlisting>
  3460. <![CDATA[
  3461. <set LogType="Logfile">
  3462. ]]>
  3463. </programlisting></refsynopsisdiv>
  3464. <refsect1>
  3465. <title>Description</title>
  3466. <para>
  3467. The type of logs kept for your channel. Currently only "Logfile" is
  3468. supported, so you don't need to change this option.
  3469. </para>
  3470. </refsect1>
  3471. <refsect1>
  3472. <title>Default</title>
  3473. <para> Logfile </para>
  3474. </refsect1>
  3475. </refentry>
  3476. <!-- *** STATSDUMP *** -->
  3477. <refentry id="StatsDump">
  3478. <refmeta> <refentrytitle>StatsDump</refentrytitle> </refmeta>
  3479. <refnamediv>
  3480. <refname>StatsDump</refname>
  3481. <refpurpose>dump raw statistics into file</refpurpose>
  3482. </refnamediv>
  3483. <refsynopsisdiv><programlisting>
  3484. <![CDATA[
  3485. <set StatsDump="statsdump">
  3486. ]]>
  3487. </programlisting></refsynopsisdiv>
  3488. <refsect1>
  3489. <title>Description</title>
  3490. <para>
  3491. This option is intended for debugging pisg, but might be useful to process
  3492. the parsed logs with another program. The file contains the %stats and
  3493. %lines hashes in perl's Data::Dumper format.
  3494. </para>
  3495. </refsect1>
  3496. <refsect1>
  3497. <title>Default</title>
  3498. <para> Unset </para>
  3499. </refsect1>
  3500. </refentry>
  3501. </chapter>
  3502. <chapter id="copyright">
  3503. <title>Copyright and License</title>
  3504. <para>
  3505. pisg - Perl IRC Statistics Generator
  3506. </para>
  3507. <para>
  3508. Copyright (C) 2001-2012 The pisg project
  3509. </para>
  3510. <para>
  3511. This program is free software; you can redistribute it and/or modify
  3512. it under the terms of the GNU General Public License as published by
  3513. the Free Software Foundation; either version 2 of the License, or
  3514. (at your option) any later version.
  3515. </para>
  3516. <para>
  3517. This program is distributed in the hope that it will be useful,
  3518. but WITHOUT ANY WARRANTY; without even the implied warranty of
  3519. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  3520. GNU General Public License for more details.
  3521. </para>
  3522. <para>
  3523. You should have received a copy of the GNU General Public License
  3524. along with this program; if not, write to the Free Software
  3525. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  3526. </para>
  3527. </chapter>
  3528. </book>