def help(plugin, topic="")
case plugin
when "config"
case topic
when "list"
_("config list => list configuration modules, config list <module> => list configuration keys for module <module>")
when "get"
_("config get <key> => get configuration value for key <key>")
when "unset"
_("reset key <key> to the default")
when "set"
_("config set <key> <value> => set configuration value for key <key> to <value>")
when "desc"
_("config desc <key> => describe what key <key> configures")
when "add"
_("config add <value> to <key> => add value <value> to key <key> if <key> is an array")
when "rm"
_("config rm <value> from <key> => remove value <value> from key <key> if <key> is an array")
else
_("config module - bot configuration. usage: list, desc, get, set, unset, add, rm")
end
when "nick"
_("nick <newnick> => change the bot nick to <newnick>, if possible")
when "status"
_("status => display some information on the bot's status")
when "save"
_("save => save current dynamic data and configuration")
when "rescan"
_("rescan => reload modules and static facts")
when "version"
_("version => describes software version")
else
_("config-related tasks: config, save, rescan, version, nick, status")
end
end