Configuration Registry
ali
Now, if you're used to the Windows registry, don't worry, Supybot's registry is completely different. For one, it's completely plain text. There's no binary database sensitive to corruption, it's not necessary to use another program to edit it--all you need is a simple text editor. But there is at least one good idea in Windows' registry: hierarchical configuration. Supybot's configuration variables are organized in a hierarchy: variables having to do with the way Supybot makes replies all start with 'supybot.reply'; variables having to do with the way a plugin works all start with supybot.plugins.Plugin (where Plugin is the name of the plugin in question). This hierarchy is nice because it means the user isn't inundated with hundreds of unrelated and unsorted configuration variables.
Some of the more important configuration values are located directly under the base group, supybot. Things like the bot's nick, its ident, etc. Along with these config values are a few subgroups that contain other values. Some of the more prominent subgroups are: plugins (where all the plugin-specific configuration is held), reply (where variables affecting the way a Supybot makes its replies resides), replies (where all the specific standard replies are kept), and directories (where all the directories a Supybot uses are defined). There are other subgroups as well, but these are the ones we'll use in our example.