'' keyword, this is useful when you want more than one term to refer to the same information:
!foobar
Sorry, I know nothing about foobar
!foobar is foo
I'll remember that tsimpson
!foobar
baz
!no foo is FOO!
I'll remember that tsimpson
!foobar
FOO!
When editing a factoid, always edit what the alias points to, so in the example above you edit "foo", not "foobar".
==== Forgetting factoids ====
If you want to remove a factoid you use the ''forget'' keyword:
!foo
FOO!
!forget foo
I'll forget that tsimpson
!foo
Sorry, I don't know anything about foo
The factoid is '''not''' deleted, just marked as forgotten. This means that attempting to add a new factoid with the same name will not work:
!foo
Sorry, I don't know anything about foo
!foo is bar
But foo already means something else!
You must first ''unforget'' a factoid to edit it:
!unforget foo
I suddenly remember foo again, tsimpson
!no foo is bar
I'll remember that tsimpson
==== Looking for Factoids ====
If you are looking for a specific factoid but cannot remember which one, you can search the factoid database by factoid name or fact:
!search
You can also browse and search the factoids on-line [http://ubottu.com/factoids.cgi Here]
Sorted by:
* [http://ubottu.com/factoids.cgi?db=ubuntu&search=&order=popularity%20DESC&page=0 Most popular first]
* [http://ubottu.com/factoids.cgi?db=ubuntu&search=&order=added%20DESC&page=0 By date]
* [http://ubottu.com/factoids.cgi?db=ubuntu&search=&order=name%20ASC&page=0 Alphabetical]
==== Factoid modifiers ====
===== 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.
You can see this information by added the '-' modifier before the factoid name:
!-bot
bot is ubotu - added by SomeNick on 2006-06-18 00:41:01 - last edited by AnotherNick on 2010-09-02 10:30:22
!-ubotu
ubotu aliases: yourself, bot, usage, factoid, brain, add, help me, syntax, factoids, everything, me, ubottu, bots, fact - added by SomeNick on 2006-06-19 12:15:56 - last edited by AnotherNick on 2010-09-18 20:14:50
===== 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 [[#Variables|variable substitutions]].
You can see the raw factoid by adding the '+' modifier before the factoid name:
!+ubotu
Hi! I'm $chan's favorite infobot, you can search my brain yourself at http://ubottu.com/factoids.cgi | Usage info: http://ubottu.com/devel/wiki/Plugins | Bot channels and general info: https://wiki.ubuntu.com/IRC/Bots
!+lts
LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !$curLTS ($curLTSLong $curLTSNum)
==== Variables ====
Ubottu also understands some variables and will substitute them when the factoid is called.
!lts is LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !$curLTS ($curLTSLong $curLTSNum)
I'll remember that, User
!lts
LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !Hardy (Hardy Herron 8.04)
===== $nick =====
This variable will be replaced with the nick-name of the bot. E.g: ubottu
===== $who =====
This variable will be repalced with the nick-name of the person who called the factoid. E.g: tsimpson
===== $chan =====
This variable will be replaced with the current channel the factoid is called in. E.g: #ubuntu
===== $curStable =====
This variable will be replaced with the name of the current stable version of Ubuntu. E.g: Jaunty
===== $curStableLong =====
This variable will be replaced with the long name of current stable version of Ubuntu. E.g: Jaunty Jackalope
===== $curStableLower =====
Same as $curStable, but lower-case.
===== $curStableNum =====
This variable will be replaced with the version number of the current stable version of Ubuntu. E.g: 9.04
===== $curLTS =====
This variable will be replaced with the name of the current stable version of Ubuntu. E.g: Hardy
===== $curLTSLong =====
This variable will be replaced with the long name of current stable version of Ubuntu. E.g: Hardy Heron
===== $curLTSLower =====
Same as $curLTS, but lower-case.
===== $curLTSNum =====
This variable will be replaced with the version number of the current stable version of Ubuntu. E.g: 8.04
===== $curDevel =====
This variable will be replaced with the name of the current stable version of Ubuntu. E.g: Karmic
===== $curDevelLong =====
This variable will be replaced with the long name of current stable version of Ubuntu. E.g: Karmic Koala
===== $curDevelLower =====
Same as $curDevel, but lower-case.
===== $curDevelNum =====
This variable will be replaced with the version number of the current stable version of Ubuntu. E.g: 9.10
=== Commands ===
{| style="width: 100%;" border="1"
! Command
! Arguments
! Detailed information
|-
| addeditor
|
| Adds the user with the name
to the list of editors.
|-
| editors
| Takes no arguments
| Lists all the users who are in the list of editors.
|-
| ignore
| [] []
| Ignores commands/requests from
or
. If
is given the ignore will expire after that amount of time in seconds. If
is given, the ignore will only apply in that channel.
defaults to the channel the command is given in, use /msg to apply ignores globally.
|-
| ignorelist
| []
| Lists all ignores set by ''ignore''. If
is given this will only list ignores set in that 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.
|-
| removeeditor
|
| Removes the user with the 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''.
|-
| unignore
| []
| Remove an ignore previously set by ''ignore''. If
was given in the original ''ignore'' command it must be given here too.
defaults to the channel the command is given in, use /msg to remove an ignore globally.
|}
=== Config ===
Configs can be configured with the command "@config ". For the case of channel specific configs, the command is "@config channel "
{| style="width: 100%;" border="1"
! 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 ==
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.
=== Commands ===
{| style="width: 100%;" border="1"
! 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.
|-
| 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.
|-
| 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-irc Ubuntu IRC Operator]''' team and processes the database (as @reloadusers)
|}
== Lart ==
=== Using ===
=== Commands ===
{| style="width: 100%;" border="1"
! Command
! Arguments
! Detailed information
|-
| Fill me in
| Fill me in
| Fill me in
|}
== PackageInfo ==
=== Using ===
=== Commands ===
{| style="width: 100%;" border="1"
! Command
! Arguments
! Detailed information
|-
| Fill me in
| Fill me in
| Fill me in
|}
== Stuff ==
=== Commands ===
{| style="width: 100%;" border="1"
! Command
! Arguments
! Detailed information
|-
| Fill me in
| Fill me in
| Fill me in
|}
== Svn ==
This plugin can show a link to a '''[http://subversion.tigris.org/ SVN]''' or '''[http://subversion.tigris.org/ Bzr]''' repository as well as retrieve information about revisions.
=== Using ===
This plugin looks out for references to Svn/Bzr revisions in a channel and attempts to retrieve information on it, similar to Bugtracker.
kde rev 1038907
http://websvn.kde.org/trunk/?rev=1038907&view=rev | svn://anonsvn.kde.org/home/kde/trunk -r 1038907 | Fixed focus handling and history navigation
=== Commands ===
{| style="width: 100%;" border="1"
! Command
! Arguments
! Detailed information
|-
| add
| []
| Add a SVN/Bzr repository
to the list of defined repositories. is the type of the repository (currently '''Websvn''', '''KDE''', '''Bazaar''', and '''Launchpad''' are known types).
is the name that will be used to reference the repository in all commands. Unambiguous abbreviations of
will be accepted also.
is the common name for the repository and will be listed with the repository query; if not given, it defaults to
.
|-
| list
| []
| List defined repositories. If
is specified, list the information for that repository instead.
|-
| remove
|
| Remove the repository associated with
from the list of defined repositories.
|-
| rename
|
| Rename the repository associated with
to
.
|-
| svn
| [] []
| Acts like " svn " was sent to the channel, and
are optional. (See [[#Using 4|Using]])
|}
== Admin ==
{{Official plugin|Admin}}
== Channel ==
{{Official plugin|Channel}}
== Config ==
{{Official plugin|Config}}
== Misc ==
{{Official plugin|Misc}}
== Owner ==
{{Official plugin|Owner}}
== Plugin ==
{{Official plugin|Plugin}}
== Services ==
{{Official plugin|Services}}
== User ==
{{Official plugin|User}}