Silently listens to a channel, building a database of Markov Chains for later hijinks. To read more about Markov Chains, check out <http://www.cs.bell-labs.com/cm/cs/pearls/sec153.html>. When the database is large enough, you can have it make fun little random messages from it.
Commands for Markov
CommandArgs Detailed Help
firsts[<channel>] Returns the number of Markov's first links in the database for <channel>.
follows[<channel>] Returns the number of Markov's third links in the database for <channel>.
lasts[<channel>] Returns the number of Markov's last links in the database for <channel>.
markov[<channel>] [word1 word2] Returns a randomly-generated Markov Chain generated sentence from the data kept on <channel> (which is only necessary if not sent in the channel itself). If word1 and word2 are specified, they will be used to start the Markov chain.
pairs[<channel>] Returns the number of Markov's chain links in the database for <channel>.
stats[<channel>] Returns all stats (firsts, lasts, pairs, follows) for <channel>'s Markov database.

Configuration Variables for the Markov plugin

  • supybot.plugins.Markov.public
    • Default: True
    • Channel Specific: False
    • Help: Determines whether this plugin is publicly visible.
  • supybot.plugins.Markov.ignoreBotCommands
    • Default: False
    • Channel Specific: True
    • Help: Determines whether messages addressed to the bot are ignored.
  • supybot.plugins.Markov.minChainLength
    • Default: 1
    • Channel Specific: True
    • Help: Determines the length of the smallest chain which the markov command will generate.
  • supybot.plugins.Markov.maxAttempts
    • Default: 1
    • Channel Specific: True
    • Help: Determines the maximum number of times the bot will attempt to generate a chain that meets or exceeds the size set in minChainLength.
  • supybot.plugins.Markov.randomSpeaking
    • .probability
      • Default: 0.0
      • Channel Specific: True
      • Help: Determines the probability that will be checked against to determine whether the bot should randomly say something. If 0, the bot will never say anything on it's own. If 1, the bot will speak every time we make a check.
    • .maxDelay
      • Default: 10
      • Channel Specific: True
      • Help: Determines the upper bound for how long the bot will wait before randomly speaking. The delay is a randomly generated number of seconds below the value of this config variable.
    • .throttleTime
      • Default: 300
      • Channel Specific: True
      • Help: Determines the minimum number of seconds between the bot randomly speaking.

<- Lookup | Plugins Index | Commands Index | Math ->

Valid HTML 4.01! Valid CSS! SourceForge.net Logo