Both sides previous revisionPrevious revisionNext revision | Previous revision |
wiki:ubottu [2016/11/26 01:08] – 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 ^ |
| |
== 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> |
^ Command ^ Arguments ^ Detailed information ^ | ^ Command ^ Arguments ^ Detailed information ^ |
|addeditor | <name> | Adds the user with the name <name> to the list of editors.| | |addeditor | <name> | Adds the user with the name <name> to the list of editors.| |
|editors | Takes no arguments | Lists all the users who are in 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.| | |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.| | |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 | Takes no arguments | Lists all the users who can add users to the list of editors.| | |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.| | |removeeditor | <name> | Removes the user with the name <name> from the list of editors.| |
|sync | Takes no arguments | Downloads a copy of the database from the remote server. Set the server with the configuration variable ''supybot.plugins.Encyclopedia.remotedb''.| | |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.| | |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 ^ | ^ Variable ^ Details ^ Channel Specific ^ Default Value ^ |
| |
^ Command ^ Arguments ^ Detailed information ^ | ^ Command ^ Arguments ^ Detailed information ^ |
| login | Takes no arguments | Allows users who are identified to NickServ to login without a password. The user must also be in the bots user database.| | | login | | Allows users who are identified to NickServ to login without a password. The user must also be in the bots user database.| |
| reloadusers | Takes no arguments | 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.| | | 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 | Takes no arguments | 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'')| | | 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'')| |