Anope IRC Services
Anope Development => Modules => Topic started by: chaokusc on February 12, 2006, 06:58:53 PM
-
Is it possable for anyone to make an addon for BotServ so i can have multiple bots in a single channel ?
-
*yoink*
[Edited on 13-2-2006 by Rob]
-
DON'T USE RAW. It is dangerous, will desynch services, and basically is unsupported. This should be done via a module, but ideally it should not be done because one bot is enough; the others won't add functionality.
-
Right dont get me wrong but if you add more then one bot to the same chan it will be like a war as they don't like to work togher.
-
chaokusc,
You could use my module, but the bot won`t function in the channel, it will just sit there. Assigning two bots to one chan is useless because all the bot actions will be duplicated which will make quite a mess. And i refuse to think what will happen if the bots` settings differs...
Join and part module:
http://openet.ath.cx/os_joinpart.c
-
I don't see why you need to have more than one bot in a channel. I mean, one bot will give the normal functions, having two or more won't give you anymore functions, it will also causes problem with the ops/halfops/etc. Also, using raw is dangours. ( I would know) If you really want to add a anther bot, get an eggdrop!
:)
-
Dude, Thats what Devnull and Unlaggy internet connections are for.
I've only seen Anope desynch if it's on AOL Lol.
If ya don't know how to use RAW I'd imagine it'd desynch, But I've IRC for Nine years and I haven't desynched anope since it was created. And I always do RAW and join all services into a channel.
[Edited on 18-4-2006 by AlexTepes]
-
as soon as you use raw to join 1 service into a channel, anope is desynced, you just dont notice any bad symptoms... :)
-
err didnt ever knew that so if you were to use raw in any case it would desync anope?
-
yes... raw makes services send the command directly to the ircd without processing it. So the ircd receives a join message for a channel and thinks a new services client joined, whereas services have no clue about it.
As an example of what it can break: if the last user leaves services think the channel is empty whereas the ircd still sees the client that was joined with raw. Result is for example that services thinks all bans were removed whereas they haven't because there s still one user in channel according to the ircd. Then if for example the owner got banned, he can't use chanserv unban to get back in because services will think the channel doesn't exist and therefore can't contain bans...
Just one example...
The same probllem applies to all modules that are currently around that join more bots into channels.. none of the modules will make the bots leave when the last real user leaves.
and if you manage to send the right string with raw, you can even crash the ircd :)