Anope IRC Services
Anope.org => Anope General => Topic started by: ZippyD on March 17, 2008, 09:14:19 AM
-
Is there a way to get one of the services to join a channel to keep it open even when nobody else is in that channel? If so which service can I use and how do I go about doing so?
-
For services to do this you need a module
-
The alternative is just put a non-services bot in there.
Like for example, StatServ from Denora.
-
If you make anope do this, it would cause desyncs I think..
If the last user leaves the channel anope expects it to be empty (it doesn't see its own clients as users whereas the ircd does) which means it also expects all settings to be cleared...
It would break for example the unban command... if the last user leaves anope would think the channel to be empty and all bans cleared... therefore if for example the owner got banned he wouldn't be able to get in since unban would say the channel doesn't exist.
To keep a channel open it would ideally have to be done by a client that isn't local to services..
[Edited on 17-3-2008 by Viper]
-
Originally posted by Viper
If you make anope do this, it would cause desyncs I think..
If the last user leaves the channel anope expects it to be empty (it doesn't see its own clients as users whereas the ircd does) which means it also expects all settings to be cleared...
It would break for example the unban command... if the last user leaves anope would think the channel to be empty and all bans cleared... therefore if for example the owner got banned he wouldn't be able to get in since unban would say the channel doesn't exist.
To keep a channel open it would ideally have to be done by a client that isn't local to services..
[Edited on 17-3-2008 by Viper]
In laymans terms .. it's best to leave things as they are and tell your users that if they want to keep their channels open to run an eggdrop.
-
And if I want to make a bot made with botserv not to leave the channel?
-
Currently you can't.
-
For services to do this you need a module
you can give us a link to this module? ;D
-
you can give us a link to this module? ;D
By "you need a module" he means he doesnt know if there even is already a module to do it. So if you would like such a module please check out http://modules.anope.org to see if one has already been made, if not post a request on the modules board here.
-
A module that does it would be os_staychan, but as Viper said its likely to cause desyncs as its a pseudoclient of services, best way eggdrop or denora or just any other bot.