Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How do I keep channels open?  (Read 10386 times)

0 Members and 1 Guest are viewing this topic.

ZippyD

  • Anope User
  • Offline Offline
  • Posts: 2
    • irc.destinyadultchat.com
How do I keep channels open?
« 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?
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: March 17, 2008, 01:05:41 PM »

For services to do this you need a module
Logged
my God my tourniquet, return to me salvation

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #2 on: March 17, 2008, 02:09:09 PM »

The alternative is just put a non-services bot in there.

Like for example, StatServ from Denora.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #3 on: March 17, 2008, 04:32:33 PM »

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]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
(No subject)
« Reply #4 on: March 18, 2008, 03:36:48 AM »

Quote
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.
Logged

cipriancx

  • Anope User
  • Offline Offline
  • Posts: 10
Re: How do I keep channels open?
« Reply #5 on: January 11, 2009, 12:16:48 PM »

And if I want to make a bot made with botserv  not to leave the channel?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: How do I keep channels open?
« Reply #6 on: January 11, 2009, 12:39:17 PM »

Currently you can't.
Logged

cipriancx

  • Anope User
  • Offline Offline
  • Posts: 10
Re:
« Reply #7 on: January 11, 2009, 06:31:18 PM »

For services to do this you need a module
you can give us a link to this module? ;D
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: How do I keep channels open?
« Reply #8 on: January 12, 2009, 08:22:59 AM »

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.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: How do I keep channels open?
« Reply #9 on: January 12, 2009, 03:03:10 PM »

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.
Logged
Pages: [1]   Go Up