Limnoria/plugins/Network
Valentin Lorentz cd02444f87 supybot-plugin-doc: Add labels for all command and config variables
So they can be referenced from elsewhere in the doc.
2021-04-06 00:33:07 +02:00
..
locales Fix msgfmt warnings. 2020-03-26 22:10:28 +01:00
__init__.py all plugins: auto-generate READMEs 2021-04-05 17:42:31 +02:00
config.py Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
plugin.py Network: add @capabilities command. 2020-11-09 21:45:01 +01:00
README.rst supybot-plugin-doc: Add labels for all command and config variables 2021-04-06 00:33:07 +02:00
test.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00

Documentation for the Network plugin for Supybot

Purpose

Includes commands for connecting, disconnecting, and reconnecting to multiple networks, as well as several other utility functions related to IRC networks like showing the latency.

Usage

Provides network-related commands, such as connecting to multiple networks and checking latency to the server.

Commands

capabilities [<network>]

Returns the list of IRCv3 capabilities available on the network.

cmdall <command> [<arg> ...]

Perform <command> (with its associated <arg>s) on all networks.

command <network> <command> [<arg> ...]

Gives the bot <command> (with its associated <arg>s) on <network>.

connect [--nossl] <network> [<host[:port]>] [<password>]

Connects to another network (which will be represented by the name provided in <network>) at <host:port>. If port is not provided, it defaults to 6697, the default port for IRC with SSL. If password is provided, it will be sent to the server in a PASS command. If --nossl is provided, an SSL connection will not be attempted, and the port will default to 6667.

disconnect <network> [<quit message>]

Disconnects from the network represented by the network <network>. If <quit message> is given, quits the network with the given quit message.

driver [<network>]

Returns the current network driver for <network>. <network> is only necessary if the message isn't sent on the network to which this command is to apply.

latency [<network>]

Returns the current latency to <network>. <network> is only necessary if the message isn't sent on the network to which this command is to apply.

networks [--all]

Returns the networks to which the bot is currently connected. If --all is given, also includes networks known by the bot, but not connected to.

reconnect [<network>] [<quit message>]

Disconnects and then reconnects to <network>. If no network is given, disconnects and then reconnects to the network the command was given on. If no quit message is given, uses the configured one (supybot.plugins.Owner.quitMsg) or the nick of the person giving the command.

uptime [<network>]

Returns the time duration since the connection was established.

whois [<network>] <nick>

Returns the WHOIS response <network> gives for <nick>. <network> is only necessary if the network is different than the network the command is sent on.

whowas [<network>] <nick>

Returns the WHOIS response <network> gives for <nick>. <network> is only necessary if the network is different than the network the command is sent on.

Configuration

supybot.plugins.Network.public

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

Determines whether this plugin is publicly visible.