Feature request

<[email protected]> Sun, 3 Sep 2006 12:33:47 -0700
Newsgroups gmane.network.irc.bopm
Message-ID <426791296.1157312027692.JavaMail.root@fepweb08>
I am looking to add a "Defcon" level type system, I want to add commands like:

NAME CODE:GREEN/YELLOW/RED
!all CODE:GREEN/YELLOW/RED

That will load a different config file, and restart the bot.

I figured I could do this by making the 3 different config's, naming them:

code.green
code.yellow
code.red

and then upon the execution of the command, it will

rm -rf bopm.conf | mv code.green bopm.conf | kill -9 bopm.pid | ./bopm | irc_send(Code Green Active)

The code green will be a basic setup, with a long ban time...

Code Yellow will include more ports, and black lists, with a slightly shorter ban time...

Code Red will be even more ports and such, with a 1 day ban time at most....

If this could be added, or just someone help me with code snippets, it would be appreciated. thank you.