CONFIG

From Botnix

CONFIG

Syntax: CONFIG DUMP | SET <key> <variable> <value> | DEL <key> [variable]

Display a variable dump of the bots configuration, or change and delete values in the hash on the fly.

This command is dangerous, but is designed for power users to make small changes to the operation of the bot without requiring modules, for example changing the bot's ident or adding network addresses without requiring a rehash, as shown in the example below:

CONFIG SET MyNetwork addresses current.address.net/6667 new.address.net/6667

Or, to completely delete a network from the bot temporarily:

CONFIG DEL BadNetwork

Be aware that deleting keys or values while the bot is operational might result in your bot going crazy, eating random people, or mutating into a super villain. Or, it might just crash.

Implemented by: core