Limnoria/plugins/Misc
Valentin Lorentz 9a4dca8054 Misc: update version fetching to the new branches
master is now used for main development, so PyPI has to be used instead to get
the latest release
2024-05-29 21:49:23 +02:00
..
locales all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
__init__.py Revert generic 'The Limnoria Contributors' in copyright notices 2021-10-17 09:57:55 +02:00
config.py Revert generic 'The Limnoria Contributors' in copyright notices 2021-10-17 09:57:55 +02:00
messages.pot all: Update .pot and .po files 2022-02-06 00:14:47 +01:00
plugin.py Misc: update version fetching to the new branches 2024-05-29 21:49:23 +02:00
README.rst supybot-plugin-doc: Remove extra space + regenerate all READMEs. 2021-12-04 03:19:12 +01:00
test.py Modernize tests 2022-11-20 19:33:23 +01:00

Documentation for the Misc plugin for Supybot

Purpose

Miscellaneous commands.

Usage

Miscellaneous commands to access Supybot core. This is a core Supybot plugin that should not be removed!

Commands

apropos <string>

Searches for <string> in the commands currently offered by the bot, returning a list of the commands containing that string.

clearmores takes no arguments

Clears all mores for the current network.

completenick [<channel>] <beginning> [--match-case]

Returns the nick of someone on the channel whose nick begins with the given <beginning>. <channel> defaults to the current channel.

help [<plugin>] [<command>]

This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. You may also want to use the 'list' command to list all available plugins and commands.

last [--{from,in,on,with,without,regexp} <value>] [--nolimit]

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.

list [--private] [--unloaded] [<plugin>]

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. If --unloaded is given, it will list available plugins that are not loaded.

more [<nick>]

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.

noticetell <nick> <text>

Tells the <nick> whatever <text> is, in a notice. Use nested commands to your benefit here.

ping takes no arguments

Checks to see if the bot is alive.

source takes no arguments

Returns a URL saying where to get Limnoria.

tell <nick> <text>

Tells the <nick> whatever <text> is. Use nested commands to your benefit here.

version takes no arguments

Returns the version of the current bot.

Configuration

supybot.plugins.Misc.customHelpString

This config variable defaults to "", is not network-specific, and is not channel-specific.

Sets a custom help string, displayed when the 'help' command is called without arguments.

supybot.plugins.Misc.last

This is a group of:

supybot.plugins.Misc.last.nested

This is a group of:

supybot.plugins.Misc.last.nested.includeNick

This config variable defaults to "False", is network-specific, and is channel-specific.

Determines whether or not the nick will be included in the output of last when it is part of a nested command

supybot.plugins.Misc.last.nested.includeTimestamp

This config variable defaults to "False", is network-specific, and is channel-specific.

Determines whether or not the timestamp will be included in the output of last when it is part of a nested command

supybot.plugins.Misc.listPrivatePlugins

This config variable defaults to "False", is not network-specific, and is not channel-specific.

Determines whether the bot will list private plugins with the list command if given the --private switch. If this is disabled, non-owner users should be unable to see what private plugins are loaded.

supybot.plugins.Misc.listUnloadedPlugins

This config variable defaults to "False", is not network-specific, and is not channel-specific.

Determines whether the bot will list unloaded plugins with the list command if given the --unloaded switch. If this is disabled, non-owner users should be unable to see what unloaded plugins are available.

supybot.plugins.Misc.mores

This config variable defaults to "1", is network-specific, and is channel-specific.

Determines how many messages the bot will issue when using the 'more' command.

supybot.plugins.Misc.public

This config variable defaults to "True", is not network-specific, and is not channel-specific.

Determines whether this plugin is publicly visible.

supybot.plugins.Misc.timestampFormat

This config variable defaults to "[%H:%M:%S]", is not network-specific, and is not channel-specific.

Determines the format string for timestamps in the Misc.last command. Refer to the Python documentation for the time module to see what formats are accepted. If you set this variable to the empty string, the timestamp will not be shown.