Limnoria-doc/use/plugins/misc.rst

92 lines
2.2 KiB
ReStructuredText
Raw Normal View History

2011-06-28 08:11:32 +02:00
.. _plugin-misc:
The Misc plugin
===============
2011-06-28 17:29:38 +02:00
Main commands
-------------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-help:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc help [<plugin>] [<command>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
This command gives a useful description of what *<command>* does.
*<plugin>* is only necessary if the command is in more than one plugin.
2011-06-28 17:29:38 +02:00
.. _command-misc-list:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc list [--private] [<plugin>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Lists the commands available in the given plugin. If no plugin is
given, lists the public plugins available. If *--private* is given,
lists the private plugins.
2011-06-28 17:29:38 +02:00
.. _command-misc-more:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc more [<nick>]
^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
If the last command was truncated due to IRC message length
limitations, returns the next chunk of the result of the last command.
If *<nick>* is given, it takes the continuation of the last command from
*<nick>* instead of the person sending this message.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Utilities
---------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-last:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc last [--{from,in,on,with,without,regexp} <value>] [--nolimit]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Returns the last message matching the given criteria. *--from* requires
a nick from whom the message came; *--in* requires a channel the message
was sent to; *--on* requires a network the message was sent on; *--with
requires* some string that had to be in the message; *--regexp* requires
a regular expression the message must match; *--nolimit* returns all
the messages that can be found. By default, the channel this command is
given in is searched.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-ping:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc ping
^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Checks to see if the bot is alive.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-tell:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc tell <nick> <text>
^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Tells the *<nick>* whatever *<text>* is. Use nested commands to your
benefit here.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Getting informations about the bot
----------------------------------
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-source:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc source
^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Returns a URL saying where to get Supybot.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-version:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc version
^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Returns the version of the current bot.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-misc-apropos:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
misc apropos <string>
^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Searches for *<string>* in the commands currently offered by the bot,
returning a list of the commands containing that string.