Next revision | Previous revision |
wiki:ubottu [2016/11/25 22:11] – created unit193 | wiki:ubottu [2016/11/26 01:36] (current) – unit193 |
---|
| banlog | <nick%%|%%hostmask> [<channel>] | Shows the last 5 messages from the <nick%%|%%host> logged before an action, the nick or host has to have an active ban, mute or mark against it. If <channel> is not given, the search will include all channels.| | | banlog | <nick%%|%%hostmask> [<channel>] | Shows the last 5 messages from the <nick%%|%%host> logged before an action, the nick or host has to have an active ban, mute or mark against it. If <channel> is not given, the search will include all channels.| |
| bansearch | <nick%%|%%hostmask> [<channel>] | Search bans database for a ban or mark on <nick%%|%%hostmask>, if <channel> is not given, the search will include all channels.| | | bansearch | <nick%%|%%hostmask> [<channel>] | Search bans database for a ban or mark on <nick%%|%%hostmask>, if <channel> is not given, the search will include all channels.| |
| btlogin | Takes no arguments | Sends you a message with a link to login to the Bantracker web interface. (Requires the Bantracker capability.)| | | btlogin | | Sends you a message with a link to login to the Bantracker web interface. (Requires the Bantracker capability.)| |
| comment | <id>[,<id> ...] [<comment>][, <duration>] | If <comment> is given, adds the comment to the action with the ID(s) <id>; If not, then retrieve the comment(s) for the action with ID(s) <id>. The ID for an action can be retrieved with the ''bansearch'' command. The <duration> argument is described in the ''duration'' command below.| | | comment | <id>[,<id> ...] [<comment>][, <duration>] | If <comment> is given, adds the comment to the action with the ID(s) <id>; If not, then retrieve the comment(s) for the action with ID(s) <id>. The ID for an action can be retrieved with the ''bansearch'' command. The <duration> argument is described in the ''duration'' command below.| |
| duration | [<id>[,<id> ...]] [<duration>] | Sets the duration of a ban. If <duration> isn't given show when a ban expires. If no <id> is given shows the ids of bans/quiets set to expire.| | | duration | [<id>[,<id> ...]] [<duration>] | Sets the duration of a ban. If <duration> isn't given show when a ban expires. If no <id> is given shows the ids of bans/quiets set to expire.| |
| mark | [<channel>] <nick%%|%%hostmask> [<comment>] | Creates an entry in the Bantracker as if <nick%%|%%hostmask> was kicked from <channel> with the comment <comment>, if <comment> is not given the comment will be "%%**%%MARK%%**%%". <channel> is only needed when sent in a /msg or the command is given in another channel.| | | mark | [<channel>] <nick%%|%%hostmask> [<comment>] | Creates an entry in the Bantracker as if <nick%%|%%hostmask> was kicked from <channel> with the comment <comment>, if <comment> is not given the comment will be ''%%**%%MARK%%**%%''. <channel> is only needed when sent in a /msg or the command is given in another channel.| |
| updatebt | [<channel>] | Update the Bantracker database by synchronising with the <channel>s ban list, marking removed bans as removed, and adding new bans. If <channel> is not given then the synchronisation will occur in all channels.| | | updatebt | [<channel>] | Update the Bantracker database by synchronising with the <channel>s ban list, marking removed bans as removed, and adding new bans. If <channel> is not given then the synchronisation will occur in all channels.| |
| banreview | Takes no arguments | Shows a list of operators with ban reviews in queue.| | | banreview | | Shows a list of operators with ban reviews in queue.| |
| |
==== Config ==== | ==== Config ==== |
Configs can be configured with the command "@config <config name> <new value>". For the case of channel specific configs, the command is "@config channel <channel name> <config name> <new value>" | Configs can be configured with the command ''config <config name> <new value>''. For the case of channel specific configs, the command is ''config channel <channel name> <config name> <new value>'' |
| |
^ Variable ^ Details ^ Channel Specific ^ Default Value ^ | ^ Variable ^ Details ^ Channel Specific ^ Default Value ^ |
|supybot.plugins.Bantracker.request |Enable messages from the bot |Yes |False| | |supybot.plugins.Bantracker.request |Enable messages from the bot |Yes |False| |
|supybot.plugins.Bantracker.request.type |List of events for which the bot should request comments |Yes |removal ban quiet| | |supybot.plugins.Bantracker.request.type |List of events for which the bot should request comments |Yes |removal ban quiet| |
|supybot.plugins.Bantracker.request.ignore |List of nicks for which the bot won't request a comment or review. Is case insensible and wildcards '?' and '*' are accepted |Yes |FloodBot? FloodBotK? ChanServ| | |supybot.plugins.Bantracker.request.ignore |List of nicks for which the bot won't request a comment or review. Is case insensible and wildcards ''?'' and ''*'' are accepted |Yes |FloodBot? FloodBotK? ChanServ| |
|supybot.plugins.Bantracker.request.forward |List of nicks for which the bot will forward the request to the channels/nicks defined in supybot.plugins.Bantracker.forwards.channels option. This is useful for bans set by ChanServ, were the operator that issued the command isn't known. Is case insensible and wildcards '?' and '*' are accepted |Yes | | | |supybot.plugins.Bantracker.request.forward |List of nicks for which the bot will forward the request to the channels/nicks defined in supybot.plugins.Bantracker.forwards.channels option. This is useful for bans set by ChanServ, were the operator that issued the command isn't known. Is case insensible and wildcards ''?'' and ''*'' are accepted |Yes | | |
|supybot.plugins.Bantracker.request.forward.channels |List of channels/nicks to forward the request if the op is in the forward list |Yes | | | |supybot.plugins.Bantracker.request.forward.channels |List of channels/nicks to forward the request if the op is in the forward list |Yes | | |
|supybot.plugins.Bantracker.request.reviews |Days after which the bot will request for review a ban. Can be an integer or decimal. Zero disables reviews. Allows decimal values with one hour resolution |No |7| | |supybot.plugins.Bantracker.request.reviews |Days after which the bot will request for review a ban. Can be an integer or decimal. Zero disables reviews. Allows decimal values with one hour resolution |No |7| |
|supybot.plugins.Bantracker.review |Enable/disable reviews per channel. |Yes |True| | |supybot.plugins.Bantracker.review |Enable/disable reviews per channel. |Yes |True| |
|supybot.plugins.Bantracker.review.ignore |List of nicks for which the bot won't request a review. Is case insensative and the wildcards '*' and '?' are accepted. |Yes | | | |supybot.plugins.Bantracker.review.ignore |List of nicks for which the bot won't request a review. Is case insensative and the wildcards ''*'' and ''?'' are accepted. |Yes | | |
|supybot.plugins.Bantracker.review.forward |List of nicks for which the bot will forward the reviews to the channels/nicks defined in forwards.channels option. Is case insensitive and the wildcards '*' and '?' are accepted. |Yes |FloodBot? FloodBotK? ChanServ| | |supybot.plugins.Bantracker.review.forward |List of nicks for which the bot will forward the reviews to the channels/nicks defined in forwards.channels option. Is case insensitive and the wildcards ''*'' and ''?'' are accepted. |Yes |FloodBot? FloodBotK? ChanServ| |
|supybot.plugins.Bantracker.review.when |Days after which the bot will request for review a ban. Can be an integer or decimal value. Zero disables reviews globally. |No |7.0| | |supybot.plugins.Bantracker.review.when |Days after which the bot will request for review a ban. Can be an integer or decimal value. Zero disables reviews globally. |No |7.0| |
|supybot.plugins.Bantracker.review.forward.channels |List of channels/nicks to forward the request if the op is in the forward list. |Yes | | | |supybot.plugins.Bantracker.review.forward.channels |List of channels/nicks to forward the request if the op is in the forward list. |Yes | | |
| |
== Getting factoid information == | == Getting factoid information == |
Some information on factoids can be retrieved by using the '-' modifier when calling a factoid. This information includes information on if the factoid is an alias to another, what factoids are aliases to the factoid, when the factoid was created, and when the factoid was last modified. | Some information on factoids can be retrieved by using the ''-'' modifier when calling a factoid. This information includes information on if the factoid is an alias to another, what factoids are aliases to the factoid, when the factoid was created, and when the factoid was last modified. |
| |
You can see this information by added the '-' modifier before the factoid name: | You can see this information by added the ''-'' modifier before the factoid name: |
| |
<code> | <code> |
| |
== Getting raw factoids == | == Getting raw factoids == |
The raw factoid, as it is stored in the database, can be retrieved by using the '+' modifier when calling a factoid. Sometimes it can be useful to see a raw factoid as it is stored in the database, for instance when working with [[ubottu#variables|variable substitutions]]. | The raw factoid, as it is stored in the database, can be retrieved by using the ''+'' modifier when calling a factoid. Sometimes it can be useful to see a raw factoid as it is stored in the database, for instance when working with [[ubottu#variables|variable substitutions]]. |
| |
You can see the raw factoid by adding the '+' modifier before the factoid name: | You can see the raw factoid by adding the ''+'' modifier before the factoid name: |
| |
<code> | <code> |
| |
==== Commands ==== | ==== Commands ==== |
| |
| ^ Command ^ Arguments ^ Detailed information ^ |
| |addeditor | <name> | Adds the user with the name <name> to the list of editors.| |
| |editors | | Lists all the users who are in the list of editors.| |
| |ignore | <hostmask%%|%%nick> [<expires>] [<channel>] | Ignores commands/requests from <hostmask> or <nick>. If <expires> is given the ignore will expire after that amount of time in seconds. If <channel> is given, the ignore will only apply in that channel. <channel> defaults to the channel the command is given in, use /msg to apply ignores globally.| |
| |ignorelist | <hostmask%%|%%nick> [<channel>] | Lists all ignores set by ignore. If <channel> is given this will only list ignores set in that channel. <channel> defaults to the channel the command is given in, use /msg to list global ignores.| |
| |moderators | | Lists all the users who can add users to the list of editors.| |
| |removeeditor | <name> | Removes the user with the name <name> from the list of editors.| |
| |sync | | Downloads a copy of the database from the remote server. Set the server with the configuration variable ''supybot.plugins.Encyclopedia.remotedb''.| |
| |unignore | <hostmask%%|%%nick> [<channel>] | Remove an ignore previously set by ignore. If <channel> was given in the original ignore command it must be given here too. <channel> defaults to the channel the command is given in, use /msg to remove an ignore globally.| |
| |
==== Config ==== | ==== Config ==== |
Configs can be configured with the command "@config <config name> <new value>". For the case of channel specific configs, the command is "@config channel <channel name> <config name> <new value>" | Configs can be configured with the command ''config <config name> <new value>''. For the case of channel specific configs, the command is ''config channel <channel name> <config name> <new value>'' |
| |
| ^ Variable ^ Details ^ Channel Specific ^ Default Value ^ |
| |supybot.plugins.Encyclopedia.database | Name of the database to use, relative to ''supybot.plugins.Encyclopedia.datadir'' and without the .db extension| | Yes | ubuntu| |
| |supybot.plugins.Encyclopedia.relaychannel | Relay channel for unauthorized edits and ''supybot.plugins.Encyclopedia.alert'' calls | Yes | #ubuntu-ops| |
| |supybot.plugins.Encyclopedia.notfoundmsg | Reply to use when a factoid isn't found. If the message contains a ''%s'', it will be replaced with the name of the requested factoid |No |Factoid %s is not found| |
| |supybot.plugins.Encyclopedia.prefixchar | Prefix character for factoid display/editing |Yes | !| |
| |supybot.plugins.Encyclopedia.datadir | Path to the directory containing the factoid database(s) |No | | |
| |supybot.plugins.Encyclopedia.alert | factoid name(s) used for alert calls |Yes | ops op kops calltheops| |
| |supybot.plugins.Encyclopedia.remotedb | Remote location of the master database (used in ''sync'') |Yes | http://ubottu.com/ubuntu.db| |
| |supybot.plugins.Encyclopedia.ignores | factoid name(s) to ignore |Yes | info find| |
| |supybot.plugins.Encyclopedia.privateNotFound | If set to True, send the ''supybot.plugins.Encyclopedia.notfoundmsg'' in private rather than in channel | Yes | False| |
| |supybot.plugins.Encyclopedia.curStable | Current stable release name |No | Karmic| |
| |supybot.plugins.Encyclopedia.curStableLong | Current stable release long name |No | Karmic Koala| |
| |supybot.plugins.Encyclopedia.curStableNum | Current stable release version number |No | 9.10| |
| |supybot.plugins.Encyclopedia.curDevel | Current development release name |No | Lucid| |
| |supybot.plugins.Encyclopedia.curDevelLong | Current development release long name |No | Lucid Lynx| |
| |supybot.plugins.Encyclopedia.curDevelNum | Current development release version number |No | 10.04| |
| |supybot.plugins.Encyclopedia.curLTS | Current LTS release name |No | Hardy| |
| |supybot.plugins.Encyclopedia.curLTSLong | Current LTS release long name |No | Hardy Heron| |
| |supybot.plugins.Encyclopedia.curLTSNum | Current LTS release version number |No | 8.04| |
| |
===== IRCLogin ===== | ===== IRCLogin ===== |
This plugin is used to allow users to login without a password and automatically update the user list from the [[https://launchpad.net/~ubuntu-irc|Ubuntu IRC Operators]] [[https://launchpad.net/|Launchpad]] team. | This plugin is used to allow users to login without a password and automatically update the user list from the [[https://launchpad.net/~ubuntu-ops|Ubuntu IRC Operators]] [[https://launchpad.net/|Launchpad]] team. |
| |
| ==== Commands ==== |
| |
| ^ Command ^ Arguments ^ Detailed information ^ |
| | login | | Allows users who are identified to NickServ to login without a password. The user must also be in the bots user database.| |
| | reloadusers | | Read the user database and add the users in it. This command does not update the users from [[https://launchpad.net/|Launchpad]], just reprocesses the current list.| |
| | updateusers | | Update the user database from [[https://launchpad.net/|Launchpad]]. Retrieves all the users IRC nicks from the [[https://launchpad.net/~ubuntu-ops|Ubuntu IRC Operator]] team and processes the database (as ''reloadusers'')| |