Provides fun commands that require a database to operate.
Contains the 'fun' commands that require a database. Currently includes commands for larting, praising, and insulting.
This plugin is deprecated. That means that it is probably broken and no one cares about it enought to fix it or the 3rd party module it may be using. If you want this plugin to work, adopt it or provide a patch in our patch tracker on Sourceforge.
Commands for FunDB
CommandArgs Detailed Help
add[<channel>] <lart|insult|praise> <text> Adds another record to the data referred to in the first argument. For commands that will later respond with an ACTION (lart and praise), $who should be in the message to show who should be larted or praised. I.e. 'fundb add lart slices $who in half with a free AOL cd' would make the bot, when it used that lart against, say, jemfinch, to say '/me slices jemfinch in half with a free AOL cd' <channel> is only necessary if the message isn't sent in the channel itself.
change[<channel>] <lart|insult|praise> <id> <regexp> Changes the data, referred to in the first argument, with the id number <id> according to the regular expression <regexp>. <id> is the zero-based index into the db; <regexp> is a regular expression of the form s/regexp/replacement/flags. <channel> is only necessary if the message isn't sent in the channel itself.
fundb<command> [<args> ...] Command dispatcher for the FunDB plugin. Use 'list FunDB' to see the commands provided by this plugin. Use 'config list plugins.FunDB' to see the configuration values for this plugin. In most cases this dispatcher command is unnecessary; in cases where more than one plugin defines a given command, use this command to tell the bot which plugin's command to use.
get[<channel>] <lart|insult|praise> <id> Gets the record with id <id> from the type specified. <channel> is only necessary if the message isn't sent in the channel itself.
info[<channel>] <lart|insult|praise> <id> Gets the info for the record with id <id> from the type specified. <channel> is only necessary if the message isn't sent in the channel itself.
insult[<channel>] <nick> Insults <nick>. <channel> is only necessary if the message isn't sent in the channel itself.
lart[<channel>] [<id>] <text> [for <reason>] Uses a lart on <text> (giving the reason, if offered). Will use lart number <id> from the database when <id> is given. <channel> is only necessary if the message isn't sent in the channel itself.
praise[<channel>] [<id>] <text> [for <reason>] Uses a praise on <text> (giving the reason, if offered). Will use praise number <id> from the database when <id> is given. <channel> is only necessary if the message isn't sent in the channel itself.
remove[<channel>] <lart|insult|praise> <id> Removes the data, referred to in the first argument, with the id number <id> from the database. <channel> is only necessary if the message isn't sent in the channel itself.
stats[<channel>] <lart|insult|praise> Returns the number of records, of the type specified, currently in the database. <channel> is only necessary if the message isn't sent in the channel itself.

Configuration Variables for the FunDB plugin

  • supybot.plugins.FunDB.public
    • Default: True
    • Channel Specific: False
    • Help: Determines whether this plugin is publicly visible.
  • supybot.plugins.FunDB.showIds
    • Default: True
    • Channel Specific: True
    • Help: Determines whether the bot will show the id of an insult/praise/lart.

<- Fun | Plugins Index | Commands Index | Gameknot ->

Valid HTML 4.01! Valid CSS! SourceForge.net Logo