I'm the co-owner and developer of a large online gaming community. We are currently providing a service on Quakenet, where we offer users to request an eggrop to their channel, that announces news from the webpage.
The bot is working just fine, my request though is for a script that makes the bot even more automated.
At the moment, we have to add channels manual, whenever we get a request, and manually ensure that each bot on the botnet, isn't residing in to many channel (=flood on announce). The idea is, that we enable an option for user to request the service to their channel thorugh the hub bot. The hub bot then searches thorugh the leaf bots, and finds a suitable leaf bot to put on that channel.
The process could look something like this
1. A user messages the hub bot with a command to request the service
2. The hub bot talks to the leaf bots, starting with 1, and waits for a relpy
3. The leaf bot responds with a channel count
4. The hub bot determines, from a variable set in the hub bot, if the channel count is at max.
5. If not, the hub bot tells the leaf bot to join the channel, don't communicate further with any other leaf bots.
6. If the channel count is at max, the hub bot moves on an talks to the next leaf bot, continuing the process.
Of cause, it would be absoultely optimal, if the hub bot had some protection build in, so that, for example, a user couldn't spam endless requests to it. Maybe in form of a retry delay.
And last, the absolutely perfect script, would make the hub bot join the channel in question, and check to see that it forfills some requirements. For example the channel has to have a minimum of 20 users, and the person requesting the bot must have OPERATOR status on that channel.
If anyone could be so kind to redirect me to a script that does anything like this, or maybe give me something to go on. Im not a very skilled programmer, but I'm fairly good at understanding some code, and modifying it.
Thanks alot in advance