2011-06-28 08:11:32 +02:00
.. _plugin-quotegrabs:
The QuoteGrabs plugin
=====================
2011-06-28 17:29:38 +02:00
Getting quotes
--------------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-get:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
quotegrabs get [<channel> ] <id>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Return the quotegrab with the given *<id>* . *<channel>* is only necessary
if the message isn't sent in the channel itself.
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-quote:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
quotegrabs quote [<channel> ] <nick>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns *<nick>* 's latest quote grab in *<channel>* . *<channel>* is only
necessary if the message isn't sent in the channel itself.
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-random:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
quotegrabs random [<channel> ] [<nick> ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns a randomly grabbed quote, optionally choosing only from those
quotes grabbed for *<nick>* . *<channel>* is only necessary if the message
isn't sent in the channel itself.
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-list:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
quotegrabs list [<channel> ] <nick>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns a list of shortened quotes that have been grabbed for *<nick>*
as well as the id of each quote. These ids can be used to get the
full quote. *<channel>* is only necessary if the message isn't sent in
the channel itself.
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-search:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
quotegrabs search [<channel> ] <text>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Searches for *<text>* in a quote. *<channel>* is only necessary if the
message isn't sent in the channel itself.
2011-06-28 17:29:38 +02:00
(Un)quoting
-----------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-ungrab:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
quotegrabs ungrab [<channel> ] <number>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Removes the grab *<number>* (the last by default) on *<channel>* .
2011-06-28 08:11:32 +02:00
*<channel>* is only necessary if the message isn't sent in the channel
itself.
2011-06-28 17:29:38 +02:00
.. _command-quotegrabs-grab:
quotegrabs grab [<channel> ] <nick>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Grabs a quote from *<channel>* by *<nick>* for the quotegrabs table.
*<channel>* is only necessary if the message isn't sent in the channel
itself.
2011-06-28 08:11:32 +02:00
2011-10-28 22:49:04 +02:00
.. _plugin-quotegrabs-config:
Configuration
-------------
.. _supybot.plugins.QuoteGrabs.randomGrabber:
supybot.plugins.QuoteGrabs.randomGrabber
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: False
Determines whether the bot will randomly grab possibly-suitable quotes on occasion. The suitability of a given message is determined by ...
.. _supybot.plugins.QuoteGrabs.randomGrabber.averageTimeBetweenGrabs:
supybot.plugins.QuoteGrabs.randomGrabber.averageTimeBetweenGrabs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: 864000
Determines about how many seconds, on average, should elapse between random grabs. This is only an average value; grabs can happen from any time after half this time until never, although that's unlikely to occur.
.. _supybot.plugins.QuoteGrabs.randomGrabber.minimumCharacters:
supybot.plugins.QuoteGrabs.randomGrabber.minimumCharacters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: 8
Determines the minimum number of characters in a message for it to be considered for random grabbing.
.. _supybot.plugins.QuoteGrabs.randomGrabber.minimumWords:
supybot.plugins.QuoteGrabs.randomGrabber.minimumWords
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: 3
Determines the minimum number of words in a message for it to be considered for random grabbing.
.. _supybot.plugins.QuoteGrabs.public:
supybot.plugins.QuoteGrabs.public
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: True
Determines whether this plugin is publicly visible.