| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175 |
- <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
- <book id="pisg-documentation">
- <bookinfo>
- <date>2002-01-23</date>
- <title>pisg documentation</title>
- <subtitle>How to install and configure pisg</subtitle>
- </bookinfo>
- <toc></toc>
- <!-- <lot></lot> -->
- <chapter id="what-is-pisg">
- <title>What is pisg?</title>
- <para>
- pisg is an IRC statistics generator. It takes IRC logfiles and turns
- them into nice looking stats.
- </para>
- <para>
- In general, you would do something like this to get it running:
- <itemizedlist mark="bullet">
- <listitem>
- <para>
- Enable logging in an IRC bot, or in your IRC client. The log will be
- outputted into a file.
- </para>
- </listitem>
- <listitem>
- <para>
- You set up pisg, you define the channel name, and the path to the
- logfile you created.
- </para>
- </listitem>
- <listitem>
- <para>
- You run pisg, pisg runs the log through and create statistics, it
- then creates a HTML page which you can upload to a server.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- <sect1 id="requirements">
- <title>What are the requirements to run pisg?</title>
- <para>
- <itemizedlist mark="bullet">
- <listitem>
- <para>
- An IRC client or bot where pisg supports the output logfile.
- </para>
- </listitem>
- <listitem>
- <para>
- Any operating system which Perl runs at, this includes popular OS'es
- such as Linux, FreeBSD, Windows and Mac. You will have a hard time
- finding an OS where Perl isn't supported.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Optional</emphasis> - a system to host the statistics page
- 24 hours a day, 7 days a week.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
- a day, 7 days a week.
- </para>
- </listitem>
- </itemizedlist>
- </chapter>
- <chapter id="setting-up-pisg">
- <title>Setting up pisg for the first time</title>
- <para>
- Most configuration happens through the <filename>pisg.cfg</filename>
- file, the file format is made to be easy to read, and easy to extend for
- further use. It uses an XML-like format, with elements and attributes.
- </para>
- <sect1 id="setting-up-a-channel">
- <title>Setting up a channel</title>
- <para>
- An element called <command>channel</command> is made for defining
- channels, a quick example of a channel is this:
- <programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "John"
- </channel>
- ]]>
- </programlisting>
- The above will define a channel called <command>#channel</command>, the
- logfile pisg will look for is called <command>channel.log</command> and
- the format of the logfile will be <command>mIRC</command>. The
- maintainer (which will be stated on the output page) is
- <command>John</command>.
- </para>
- <para>
- That is basically it! Now, there is a lot more options you can use for
- your channels, for this please refer to the reference documentation.
- </para>
- </sect1>
- <sect1 id="user-options">
- <title>Specifying user options</title>
- <para>
- User options are set with a simple XML-like syntax in the form:
- <programlisting>
- <![CDATA[<user nick="NICK" option="VALUE">]]>
- </programlisting>
- Remember, the nick is always required.
- For example to add aliases to a nick, then you could do this:
- <programlisting>
- <![CDATA[<user nick="Joe" alias="Joe^*">]]>
- </programlisting>
- The asterix (*) means that it will match all nicks starting with 'Joe^'. So
- it will add all Joe^'s to 'Joe' in the stats.
- Another thing you can do is to add a picture to a user:
- <programlisting>
- <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
- </programlisting>
- If you have a larger picture of the user as well, you can make the picture
- on the stats page link to it:
- <programlisting>
- <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
- </programlisting>
- You can also set a user's sex:
- <programlisting>
- <![CDATA[<user nick="Ben" sex="m">]]>
- </programlisting>
- Also you can add links to URLs and e-mails:
- <programlisting>
- <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
- </programlisting>
- or
- <programlisting>
- <![CDATA[<user nick="Chris" link="chris@host.com">]]>
- </programlisting>
- The last thing you can do is to ignore nicks (for example bots):
- <programlisting>
- <![CDATA[<user nick="nameofbot" ignore="y">]]>
- </programlisting>
- You don't have to do all this in many lines, you could just as easily do:
- <programlisting>
- <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
- </programlisting>
- (Here the aliases is a space separated list of nicks, that also works! But *
- as a wildcard is smarter, but also slower).
- </para>
- </sect1>
- <sect1 id="global-options">
- <title>Setting global options</title>
- <para>
- Many times, it will be useful to set up global options, global options
- are set like this:
- <programlisting>
- <![CDATA[<set option="VALUE">]]>
- </programlisting>
- Any global option will override anything defined with in channel
- elements (see <xref linkend="setting-up-a-channel">)
- </para>
- <para>
- For example, to change the background color of the stats page, you
- could do:
- <programlisting>
- <![CDATA[<set bgcolor="black">]]>
- </programlisting>
- You can set many options in a single <command>set</command>:
- <programlisting>
- <![CDATA[<set lang="DE" timeoffset="+1">]]>
- </programlisting>
- The above will set the language on the statistics page to DE (Deutch,
- German) and set the timeoffset to +1.
- All options available are mentioned in the reference documentation.
- </sect1>
- <sect1 id="ignoring-links">
- <title>Ignoring links</title>
- <para>
- It's possible to ignore links in the "Most referenced URLs" section:
- <programlisting>
- <![CDATA[
- <link url="http://www.slashdot.org" ignore="y">
- ]]>
- </programlisting>
- </para>
- </sect1>
- <sect1 id="using-css">
- <title>Changing the layout of your stats page</title>
- <para>
- The standard layout and colors in the outputted HTML page is made to be
- somewhat clean and neutral. But you have the chance to change the layout
- yourself.
- </para>
- <para>
- There is a few predefined colorschemes for you to use, use the
- ColorScheme option when using them, the available colorschemes are:
- default, darkgalaxy.
- </para>
- <para>
- When changing it, you need a fair knowledge of CSS (Cascading Style
- Sheets). CSS is what most of the web uses today to define styles and
- layout on HTML pages.
- </para>
- <para>
- With the pisg distribution, look in the <filename>layout</filename>
- directory. In it resides <filename>default.css</filename> which is the
- file being included onto the HTML page. Open it in a text editor like
- vi or notepad. Then change it until you're happy with it. Be aware that
- you might want to look at the hicell and hicell2 options through
- pisg.cfg for changing the last two colors.
- </para>
- <para>
- If you have created a nice stylesheet which other can take advantage of,
- you are encouraged to send it to the pisg mailing list so it can be
- distributed with the next version of pisg.
- </para>
- </sect1>
- <sect1 id="mailing-list-and-bugs">
- <title>Obtaining help and reporting bugs</title>
- <para>
- If your problem could not be resolved through here, then you should send
- an e-mail to the pisg mailing list. You can subscribe and see more info
- at <ulink
- url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
- </para>
- <para>
- If you believe that you have found a bug, you should use the Sourceforge
- <ulink
- url="http://sourceforge.net/tracker/?group_id=31862&atid=403711">bug
- tracking system.</ulink>
- </para>
- </sect1>
-
- </chapter>
- <chapter id="reference">
- <title>Reference for configuration options</title>
- <!-- *** CHANNEL *** -->
- <refentry id="Channel">
- <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Channel</refname>
- <refpurpose>define channel name</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "John"
- </channel>
- <set channel="#channelname">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Channel</command> is used in two contexts, globally when using
- <set> and when defining new channels. It sets the name of the
- channel.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Unset </para>
- </refsect1>
- </refentry>
- <!-- *** LOGSUFFIX *** -->
- <refentry id="LogSuffix">
- <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogSuffix</refname>
- <refpurpose>Regex to sort logfiles by format month|day|year</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <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)">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>LogSuffix</command> is used to define the suffix of a logfile,
- it only works when <command>LogDir</command> is defined. The example in
- the synopsis is for the eggdrop bots default foramt.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Unset </para>
- </refsect1>
- </refentry>
- <!-- *** FORMAT *** -->
- <refentry id="Format">
- <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Format</refname>
- <refpurpose>the logfile format</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "eggdrop"
- Maintainer = "John"
- </channel>
- <set Format="mIRC">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Format</command> is used to define the format of the logfile,
- pisg supports a various number of different logfiles, see the FORMATS
- file included with the pisg distribution.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> mIRC </para>
- </refsect1>
- </refentry>
- <!-- *** FORMAT *** -->
- <refentry id="ColorScheme">
- <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ColorScheme</refname>
- <refpurpose>use a different colorscheme for stats page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- ColorScheme = "darkgalaxy"
- Maintainer = "John"
- </channel>
- <set ColorScheme="default">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>ColorScheme</command> is used to define the colorscheme used
- for the statistics page. Actually it's the CSS file being included.
- Available options are: default, darkgalaxy.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> default </para>
- </refsect1>
- </refentry>
- <!-- *** NETWORK *** -->
- <refentry id="Network">
- <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Network</refname>
- <refpurpose>the IRC network of the channel</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "eggdrop"
- Network = "Undernet"
- </channel>
- <set Network="Quakenet">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Network</command> is used to set the network which the channel
- resides on, this name is displayed on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> SomeIRCNetwork </para>
- </refsect1>
- </refentry>
- <!-- *** OUTPUTFILE *** -->
- <refentry id="OutputFile">
- <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
- <refnamediv>
- <refname>OutputFile</refname>
- <refpurpose>name of the generated HTML page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "eggdrop"
- OutputFile = "mychan.html"
- </channel>
- <set OutputFile="mychan.html">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>OutputFile</command> is used to define the name of the
- generated statistics page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> index.html </para>
- </refsect1>
- </refentry>
- <!-- *** MAINTAINER *** -->
- <refentry id="Maintainer">
- <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Maintainer</refname>
- <refpurpose>name of the maintainer</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "Benny"
- </channel>
- <set Maintainer="Benny">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Maintainer</command> is used to define the name of the
- maintaner of the statistics page, this can be either the person
- generating the stats or the bot/client doing the logging.
- The maintainer is displayed in the outputted stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> MAINTAINER </para>
- </refsect1>
- </refentry>
- <!-- *** LANG *** -->
- <refentry id="Lang">
- <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Lang</refname>
- <refpurpose>define the language / translation to use</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Lang = "DE"
- </channel>
- <set Lang="FR">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Lang</command> is used to define the language translation to
- use, if the language support is there, the text on the stats page will
- be outputted in that language. All supported languages is mentioned in
- the lang.txt file with the pisg distribution. Some of the languages
- supported is: EN | DE | DK | FR | ES | PL | PT | NO | NL | SE | EE | IT
- | HU | SI | FI
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> EN (English) </para>
- </refsect1>
- </refentry>
- <!-- *** PAGEHEAD *** -->
- <refentry id="pagehead">
- <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PageHead</refname>
- <refpurpose>define a file as page header</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "chaNnel.log"
- Format = "mIRC"
- OutputFile = "stats.html"
- PageHead = "myheader.txt"
- </channel>
- <set PageHead="someheader.txt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>PageHead</command> is used to include a file in the stats page,
- for example an introduction text, a link to an image or a banner. The
- file can hold anything, it will be included raw in the stats page -
- so HTML should be preferred. The file will be included in the top of
- the page. This option is the opposite of <command>PageFoot</command>.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> none </para>
- </refsect1>
- </refentry>
- <!-- *** PAGEFOOT *** -->
- <refentry id="PageFoot">
- <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PageFoot</refname>
- <refpurpose>define a file as page footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- outputfile = "stats.html"
- PageFoot = "myfooter.txt"
- </channel>
- <set PageFoot="somefooter.txt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>PageFoot</command> is used to include a file in the stats page,
- for example an introduction text, a link to an image or a banner. The
- file can hold anything, it will be included raw in the stats page -
- so HTML should be preferred. The file will be included in the bottom of
- the page. This option is the opposite of <command>PageHead</command>.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> none </para>
- </refsect1>
- </refentry>
- <!-- *** IMAGEPATH *** -->
- <refentry id="ImagePath">
- <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ImagePath</refname>
- <refpurpose>path to user pictures</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ImagePath = "userpics/"
- </channel>
- <set ImagePath="alt_users/">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>ImagePath</command> defines an alternative path to where user
- pictures is located. The default is that user pictures is located in the
- same directory as the HTML page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> current directory </para>
- </refsect1>
- </refentry>
- <!-- *** DEFAULTPIC *** -->
- <refentry id="DefaultPic">
- <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
- <refnamediv>
- <refname>DefaultPic</refname>
- <refpurpose>use a default user picture</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- DefaultPic = "not_available.jpg"
- </channel>
- <set DefaultPic="unknown.gif">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>DefaultPic</command> defines a picture to be displayed for all
- users which have no other picture defined in the <command>user</command>
- element. This is good for showing "No picture available" or something.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** LOGDIR *** -->
- <refentry id="LogDir">
- <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogDir</refname>
- <refpurpose>parse a directory full of logs</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- LogDir="/home/foo/eggdrop/logs/"
- Format = "eggdrop"
- </channel>
- <set LogDir="dailylogs/">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- When <command>LogDir</command> is defined to valid path to a directory,
- then pisg will run through that directory, parse all logfiles in it and
- create 1 HTML from it. Useful with for example eggdrop logs.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** LogPrefix *** -->
- <refentry id="LogPrefix">
- <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogPrefix</refname>
- <refpurpose>only parse logs LogPrefixed with a userdefined string</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- LogDir="/home/foo/eggdrop/logs/"
- Format = "eggdrop"
- LogPrefix = "logjun"
- </channel>
- <set LogPrefix="logjanuary">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- When using the <command>LogDir</command> option and you only want to use
- a slew of the files in it, you can have pisg choose only files which are
- prefixed with a special string.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** TIMEOFFSET *** -->
- <refentry id="TimeOffset">
- <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
- <refnamediv>
- <refname>TimeOffset</refname>
- <refpurpose>use a different time zone than the local machine</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "John"
- TimeOffset = "+5"
- </channel>
- <set TimeOffset="+2">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg uses the time of the local machine to display the time
- of the generated stats. Sometimes when you have a shell on an external
- box, and it's in another country, you want to use another time. This is
- accomplished by the <command>TimeOffset</command> command.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> +0 </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWACTIVETIMES *** -->
- <refentry id="ShowActiveTimes">
- <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowActiveTimes</refname>
- <refpurpose>enable/disable "Most Active Times"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowActiveTimes = "0"
- </channel>
- <set ShowActiveTimes="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Most Active Times" section on the
- stats page. It will simply disappear when specifying 0.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWBIGNUMBERS *** -->
- <refentry id="ShowBigNumbers">
- <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowBigNumbers</refname>
- <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowBigNumbers = "0"
- </channel>
- <set ShowBigNumbers="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Big Numbers" and "Other
- Interesting numbers" sections on the stats page. They will simply
- disappear when specifying 0.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWTOPICS *** -->
- <refentry id="ShowTopics">
- <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowTopics</refname>
- <refpurpose>enable/disable "Latest topics" sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowTopics = "0"
- </channel>
- <set ShowTopics="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Latest topics" section on the
- stats page. It will simply disappear when specifying 0.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWWPL *** -->
- <refentry id="ShowWpl">
- <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowWpl</refname>
- <refpurpose>enable/disable "words per line"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowWpl = "0"
- </channel>
- <set ShowWpl="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can enable the "words per line" coloumn in the
- "Most Active Nicks" section. It will add a column describing the average
- words per line for a person.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWCPL *** -->
- <refentry id="ShowCpl">
- <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowCpl</refname>
- <refpurpose>enable/disable "characters per line"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowCpl = "0"
- </channel>
- <set ShowCpl="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can enable the "characters per line" coloumn in the
- "Most Active Nicks" section. It will add a column describing the average
- number of characters per line for a person.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWWORDS *** -->
- <refentry id="ShowWords">
- <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowWords</refname>
- <refpurpose>enable/disable "number of words"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowWords = "0"
- </channel>
- <set ShowWords="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The <command>ShowWords</command> option adds a column to the "Most
- Active Nicks" list which list the total number of words a user has
- typed.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** ShowLastSeen *** -->
- <refentry id="ShowLastSeen">
- <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLastSeen</refname>
- <refpurpose>show when a user was last seen on a channel</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowLastSeen = "0"
- </channel>
- <set ShowLastSeen="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option enabled, a column will be added to the "Most Active
- Nicks" section to display when a user was last seen. Eg. "2 days ago".
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWTIME *** -->
- <refentry id="ShowTime">
- <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowTime</refname>
- <refpurpose>show when a nick was active</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowTime = "0"
- </channel>
- <set ShowTime="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a fancy timebar to show when a user was active. With
- this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWLINETIME *** -->
- <refentry id="ShowLineTime">
- <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLineTime</refname>
- <refpurpose>mIRCStats like behaviour of timebar</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowLineTime = "0"
- </channel>
- <set ShowLineTime="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a fancy linetimebar to show when a user was active.
- With this option it can be done the same way as mIRCStats does it; that
- is, by putting that timebar next to the number of lines, in the same
- column.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWRANDQUOTE *** -->
- <refentry id="ShowRandQuote">
- <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowRandQuote</refname>
- <refpurpose>enable or disable the random quotes</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowRandQuote = "0"
- </channel>
- <set ShowRandQuote="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a users random quote. With this option it can be
- disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWLEGEND *** -->
- <refentry id="ShowLegend">
- <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLegend</refname>
- <refpurpose>enable or disable the legend of the timebars</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowLegend = "0"
- </channel>
- <set ShowLegend="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows a legend below the "Most Active Times" displaying
- what the different colors means. With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWKICKLINE *** -->
- <refentry id="ShowKickLine">
- <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowKickLine</refname>
- <refpurpose>enable or disable the kickline</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowKickLine = "0"
- </channel>
- <set ShowKickLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows an example kickline in the "Most kicked"-stats.
- With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWACTIONLINE *** -->
- <refentry id="ShowActionLine">
- <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowActionLine</refname>
- <refpurpose>enable or disable the actionline</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowActionLine = "0"
- </channel>
- <set ShowActionLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows an example actionline in the "Most actions"-stats.
- With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWSHOUTLINE *** -->
- <refentry id="ShowShoutLine">
- <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowShoutLine</refname>
- <refpurpose>enable or disable the shoutline</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowShoutLine = "0"
- </channel>
- <set ShowShoutLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows an example shoutline in the "Most shouting
- people"-stats. With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWVIOLENTLINES *** -->
- <refentry id="ShowViolentLines">
- <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowViolentLines</refname>
- <refpurpose>enable or disable the violentlines</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowViolentLines = "0"
- </channel>
- <set ShowViolentLines="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows example violentlines in the "Most aggresive"
- and "Most attacked"-stats. With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMUW *** -->
- <refentry id="ShowMuw">
- <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMuw</refname>
- <refpurpose>enable or disable "Most used words"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMuw = "0"
- </channel>
- <set ShowMuw="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg adds an "Most used words" section to the stats page.
- With this option you can disable it from being shown.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMRN *** -->
- <refentry id="ShowMrn">
- <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMrn</refname>
- <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMrn = "0"
- </channel>
- <set ShowMrn="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg adds an "Most referenced nicks" section to the stats
- page. With this option you can disable it from being shown.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMRU *** -->
- <refentry id="ShowMru">
- <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMru</refname>
- <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMru = "0"
- </channel>
- <set ShowMru="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg adds an "Most referenced URLs" section to the stats
- page. With this option you can disable it from being shown.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWVOICES *** -->
- <refentry id="ShowVoices">
- <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowVoices</refname>
- <refpurpose>enable or disable voice statistics</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowVoices = "0"
- </channel>
- <set ShowVoices="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg doesn't have voice statistics like it has op
- statistics. Enabling this option will add a section to the "Most
- interesting numbers" displaying who got most voices.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMOSTNICKS *** -->
- <refentry id="ShowMostNicks">
- <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMostNicks</refname>
- <refpurpose>show who changed nick most often</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMostNicks = "0"
- </channel>
- <set ShowMostNicks="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By enabling this option, pisg will add a section to the stats showing
- who had the most nicks, and what the nicks were. This option only works
- properly when <command>NickTracking</command> is enabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** IGNOREWORDS *** -->
- <refentry id="IgnoreWords">
- <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>IgnoreWords</refname>
- <refpurpose>ignore specified words</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set IgnoreWords="you me">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Sometimes words in the "most used words" appears which you don't want to
- see, with this option you can ignore these words. It also applies to the
- "most referenced nicks" section. It's a space seperated list of words.
- Can not be used in a channel-only context.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** FOULWORDS *** -->
- <refentry id="FoulWords">
- <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>FoulWords</refname>
- <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set FoulWords="ass fuck bitch">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- There is a section in the "Most interesting numbers" which tells who had
- a "dirty mouth" - here you can define which words are considered being
- bad/foul. It is a space seperated list of words.
- Can not be used in a channel-only context.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
- </refsect1>
- </refentry>
- <!-- *** VIOLENTWORDS *** -->
- <refentry id="ViolentWords">
- <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ViolentWords</refname>
- <refpurpose>specify words considered to be aggressive/violent</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set ViolentWords="slaps beats kick">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- There is a section in the "Most interesting numbers" which tells who had
- is most "aggressive" - here you can define which words are considered
- being "violent". It is a space seperated list of words.
- Can not be used in a channel-only context.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> slaps beats smacks </para>
- </refsect1>
- </refentry>
- <!-- *** REGEXPALIASES *** -->
- <refentry id="RegexpAliases">
- <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
- <refnamediv>
- <refname>RegexpAliases</refname>
- <refpurpose>use regular expressions in user aliases</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <user nick="Joe" alias="Joe\d+">
- <set RegexpAliases="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Enabling this option will make all aliases in <user> lines be
- parsed as regular expressions.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SILENT *** -->
- <refentry id="Silent">
- <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Silent</refname>
- <refpurpose>make pisg Silent, suppress messages</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set Silent="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- This option is useful mainly from commandline when invoking pisg with
- <command>--silent 1</command>. But it can also used in the configuration
- file. It will suppress all standard output from pisg. Error messages
- will still be sent.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** CHARSET *** -->
- <refentry id="Charset">
- <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Charset</refname>
- <refpurpose>Charset to use for stats page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- Charset = "utf-8"
- </channel>
- <set Charset="iso-8859-15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The pisg stats page defines a charset in a meta tag, this can be used if
- your country is using a different one than the default.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> iso-8859-1 </para>
- </refsect1>
- </refentry>
- <!-- *** MinQuote *** -->
- <refentry id="MinQuote">
- <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MinQuote</refname>
- <refpurpose>minimum numbers of letters for a random quote</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- MinQuote = "10"
- </channel>
- <set MinQuote="5">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The random quotes displayed in the "Most Active Nicks" section has a
- certain range specified. With this option you can change the minimum
- number of letters required for a random quote. Also see the
- <command>maxquote</command> option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 25 </para>
- </refsect1>
- </refentry>
- <!-- *** MaxQuote *** -->
- <refentry id="MaxQuote">
- <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MaxQuote</refname>
- <refpurpose>maximum numbers of letters for a random quote</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- MaxQuote = "70"
- </channel>
- <set MaxQuote="100">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The random quotes displayed in the "Most Active Nicks" section has a
- certain range specified. With this option you can change the maximum
- number of letters required for a random quote. Also see the
- <command>minquote</command> option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 65 </para>
- </refsect1>
- </refentry>
- <!-- *** WORDLENGTH *** -->
- <refentry id="WordLength">
- <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
- <refnamediv>
- <refname>WordLength</refname>
- <refpurpose>minimum number of characters in an interesting word</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- WordLength = "10"
- </channel>
- <set WordLength="2">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The "Most Used Words" section on the stats page display the most used
- words. The default is that a word only appears if it is longer than 5
- characters. With this option you can change that minimum.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** ACTIVENICKS *** -->
- <refentry id="ActiveNicks">
- <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ActiveNicks</refname>
- <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ActiveNicks = "50"
- </channel>
- <set ActiveNicks="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in the
- "Most Active Nicks" section on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 25 </para>
- </refsect1>
- </refentry>
- <!-- *** ACTIVENICKS2 *** -->
- <refentry id="ActiveNicks2">
- <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ActiveNicks2</refname>
- <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ActiveNicks2 = "25"
- </channel>
- <set ActiveNicks2="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in the
- "These didn't make it" section on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 30 </para>
- </refsect1>
- </refentry>
- <!-- *** MOSTNICKSHISTORY *** -->
- <refentry id="MostNicksHistory">
- <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MostNicksHistory</refname>
- <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- MostNicksHistory = "2"
- </channel>
- <set MostNicksHistory="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in
- the "Most used nicks" section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** TOPICHISTORY *** -->
- <refentry id="TopicHistory">
- <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>TopicHistory</refname>
- <refpurpose>maximum number of topics to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- TopicHistory = "2"
- </channel>
- <set TopicHistory="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many topics you want to appear in
- the "Latest topics" section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 3 </para>
- </refsect1>
- </refentry>
- <!-- *** URLHISTORY *** -->
- <refentry id="UrlHistory">
- <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>UrlHistory</refname>
- <refpurpose>maximum number of urls to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- UrlHistory = "2"
- </channel>
- <set UrlHistory="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many urls you want to appear in
- the "Most referenced URLs" section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** WORDHISTORY *** -->
- <refentry id="WordHistory">
- <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>WordHistory</refname>
- <refpurpose>maximum number of words to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- WordHistory = "5"
- </channel>
- <set WordHistory="15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many words you want to appear in
- the "Most used words" section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 10 </para>
- </refsect1>
- </refentry>
- <!-- *** NICKHISTORY *** -->
- <refentry id="NickHistory">
- <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NickHistory</refname>
- <refpurpose>maximum number of nicks to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- NickHistory = "3"
- </channel>
- <set NickHistory="15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in
- the "Most referenced nicks" section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** LANGFILE *** -->
- <refentry id="LangFile">
- <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LangFile</refname>
- <refpurpose>filename of language file</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set LangFile="mylang.txt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you have an alternative way to define the name and/or
- path to the language file. Usually you don't have to touch this option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> lang.txt </para>
- </refsect1>
- </refentry>
- <!-- *** NICKTRACKING *** -->
- <refentry id="NickTracking">
- <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NickTracking</refname>
- <refpurpose>track nickchanges and create aliases</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set NickTracking="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Enabling this option will track nickchanges as well as it can. It will
- then automatically create aliases for these nicks.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** LOGTYPE *** -->
- <refentry id="LogType">
- <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogType</refname>
- <refpurpose>type of log (not the format of the log)</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set LogType="Logfile">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The type of logs kept for your channel. Currently only "Logfile" is
- supported, so you don't need to change this option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Logfile </para>
- </refsect1>
- </chapter>
- </book>
|