Re: [NeoStats-Devel] New bot nick code
"DeadNotBuried" <dnb-4ct+qsaILySks/lY53/[email protected]>
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Organization | Majestic Liaisons |
| Message-ID | <000c01c5642c$ab86bd40$0100a8c0@dnblaptop> |
Mark Wrote: > Secondly, I have altered the generation routine to remove the unecessary > strlen calls it used and take this as a parameter. I am thinking this could > be a useful base for a general nickname generator we can expose to modules. > Might come in handy for SecureServ onjoin bots. > > Maybe something along the lines of ( nickstub, stublen, numbercount, > lettercount ) where nickstub is our base, stublen the length of the base, > numbercount the number of numbers we want to generate, 0 to disable and the > same for lettercount. Something to consider. I've made changes locally to expose GenerateBotNick to modules, and modified SecureServ to change the altnick of the botinfo structure using GenerateBotNick, but for some reason I can't commit neostats to SVN at the moment (I've been trying all day), other modules seem to be working fine as the commits to opsb and blsb show, just not the main core itself. as soon as I can commit the neostats changes I'll get the secureserv changes up as well. One other thought I've had, is adding an option to try to change the bots nick to the nick/altnick after connection, so as the user/service currently using the nick disconnects, the bot would automatically change nick to altnick if not using either nick or altnick and the altnick becomes available, or nick if nick becomes available. TextServ is another module that may get some use from this as well with multiple bots connected. DNB