Dozorce is a collection of plugins for the Cinch IRC bot written in Ruby.
See installation steps and usage instructions on the cinch project page.
[suppose the global plugin prefix is not set]
Prints a random quote from bash.org database.
Usage:
bash
Calculates given formula.
Usages:
c [formula]
[number] [unit1] to [unit2]
Examples:
c (5 + 6) / 2
18 stones to kg
Returns info about queried movie.
Usage:
csfd [query]
Example:
csfd star wars xxx a porn parody
Returns the first result via Google Search.
Usage:
go(ogle) [query]
Examples:
go cinema in Prague
google iPad8 review
Prints information about a command (or all commands with no name specified).
Usage:
help [name]
Examples:
help
help calculator
Prints the list of monitored feeds. Plugin prints new messages automatically in a short interval. Feeds list can be set via plugin's config.
Usage:
rss list
Config:
Rss.configure do |c|
c.feeds = {
:bashoid => 'https://github.com/Audio/bashoid/commits/master.atom',
:dozorce => 'https://github.com/Audio/dozorce/commits/master.atom'
}
end
Prints the title of a page specified in parameter.
Usage:
t [url]
Example:
t http://www.seznam.cz/
Translates the query string. Lang parameters are optional for the first pattern.
Usages:
tr [source-lang]-[to-lang] [query]
tr [query]
Examples:
tr en-cs dog
tr dog
Prints the user status. Plugin also works automatically for detected Twitter URLs.
Usage:
tw [status]
Example:
tw 297374318562779137
Returns the first result via MediaWiki.
Usage:
wik(i)(-[lang]) [query]
Example:
wik-en hamster
YouTube plugin automatically prints video titles from detected URLs.