Limnoria-doc/use/plugins/channelstats.rst

81 lines
2.3 KiB
ReStructuredText
Raw Normal View History

2011-06-28 08:11:32 +02:00
.. _plugin-channelstats:
The ChannelStats plugin
=======================
Commands
--------
2011-06-28 17:29:38 +02:00
.. _command-channelstats-stats:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
channelstats stats [<channel>] [<name>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns the statistics for *<name>* on *<channel>*. *<channel>* is only
necessary if the message isn't sent on the channel itself. If *<name>*
isn't given, it defaults to the user sending the command.
2011-06-28 17:29:38 +02:00
.. _command-channelstats-rank:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
channelstats rank [<channel>] <stat expression>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns the ranking of users according to the given stat expression.
Valid variables in the stat expression include 'msgs', 'chars',
'words', 'smileys', 'frowns', 'actions', 'joins', 'parts', 'quits',
'kicks', 'kicked', 'topics', and 'modes'. Any simple mathematical
expression involving those variables is permitted.
2011-06-28 17:29:38 +02:00
.. _command-channelstats-channelstats:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
channelstats channelstats [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns the statistics for *<channel>*. *<channel>* is only necessary if
the message isn't sent on the channel itself.
.. _plugin-channelstats-config:
Configuration
-------------
.. _supybot.plugins.ChannelStats.frowns:
supybot.plugins.ChannelStats.frowns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: [':\|', ':-/', ':-\\', ':\\', ':/', ':(', ':-(', ":'("]
Determines what words (i.e., pieces of text with no spaces in them ) are considered 'frowns' for the purposes of stats-keeping.
.. _supybot.plugins.ChannelStats.selfStats:
supybot.plugins.ChannelStats.selfStats
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: True
Determines whether the bot will keep channel statistics on itself, possibly skewing the channel stats (especially in cases where the bot is relaying between channels on a network).
.. _supybot.plugins.ChannelStats.smileys:
supybot.plugins.ChannelStats.smileys
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: [':)', ';)', ';]', ':-)', ':-D', ':D', ':P', ':p', '(=', '=)']
Determines what words (i.e., pieces of text with no spaces in them) are considered 'smileys' for the purposes of stats-keeping.
.. _supybot.plugins.ChannelStats.public:
supybot.plugins.ChannelStats.public
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: True
Determines whether this plugin is publicly visible.