========
 MARKOV 
========
| 

about
-----
| 

:author:  Bas van Oostveen
:contact: IRCNET/#dunkbots
:website: http://plugins.gozerbot.org
:license: Public Domain
 
| 

description
-----------
| 

Gozerbot speaking madness

| 

commands
--------
| 


1) markov

    ask for markov response

    ::

        <user> !markov nice weather

2) markov-cfg

    plugin configuration

    ::

        <user> !markov-cfg
        <output> options: onjoin=[] .. enable=['#test', '#dunkbots'] .. command=1 .. loud=[]

3) markov-cfgsave

    save plugin configuration

    ::

        <user> !markov-cfgsave
        <output> config saved

4) markov-disable

    disable markov learning in [<channel>]

    ::

        <user> !markov-disable
        <output> #test disabled

    ::

        <user> !markov-disable #dunkbots
        <output> #dunkbots disabled

5) markov-enable

    enable markov learning in [<channel>]

    ::

        <user> !markov-enable
        <output> #test enabled

    ::

        <user> !markov-enable #dunkbots
        <output> #dunkbots enabled

6) markov-learn

    learn a logfile or learn an url

    ::

        <user> !markov-learn #dunkbots
        <output> learning log file #dunkbots .. learned 36 lines

    ::

        <user> !markov-learn http://r8.cg.nu
        <output> learned 61 lines

7) markov-learnadd

    add channel or url to permanent learning .. this will learn the item on startup

    ::

        <user> !markov-learnadd #dunkbots
        <output> #dunkbots is already in learnlist

    ::

        <user> !markov-learnadd http://r8.cg.nu
        <output> learned 61 lines .. done

8) markov-learndel

    remove item from learnlist

    ::

        <user> !markov-learndel #dunkbots
        <output> done

    ::

        <user> !markov-learndel http://r8.cg.nu
        <output> done

9) markov-learnlist

    show items in learnlist

    ::

        <user> !markov-learnlist
        <output> ['#test']

10) markov-onjoinadd

    add channel to onjoin config

    ::

        <user> !markov-onjoinadd
        <output> #test added

    ::

        <user> !markov-onjoinadd #dunkbots
        <output> #dunkbots added

11) markov-onjoinremove

    remove channel from onjoin config

    ::

        <user> !markov-onjoinremove
        <output> #test removed

    ::

        <user> !markov-onjoinremove #dunkbots
        <output> #dunkbots removed

12) markov-size

    size of markovchains

    ::

        <user> !markov-size
        <output> I know 209 phrases
