Anope IRC Services

Anope Development => Modules => Topic started by: DragonRyder on February 06, 2008, 02:40:42 PM

Title: guest nicks
Post by: DragonRyder on February 06, 2008, 02:40:42 PM
i know there is a module dealing with guest nicks named ircd_guestnick, but is it possible to make guest nicks part all channels except #Idle?

the ircd_guestnick mod is nice, but it lacks the ability to kick them out of channels and force them into #Idle, and lock them in the channel until they join #Help to get removed form #Idle. i think there used to be a mod that made #Idle into a "Jail" channel locking badly configured bncs and catchers into the channel.

also is it possible to add a timer into os_notinchanlist that makes it run and auto join idlers once every 12 hours?
Title:
Post by: Jobe on February 06, 2008, 04:01:13 PM
Anope is unable and always will be unable to prevent users from parting a channel or even joining a channel, this is simply because Anope does NOT know about the join/part until it has ALREADY happened.

So to prevent a join/part will require IRCd side mods.
Title:
Post by: DragonRyder on February 06, 2008, 04:45:15 PM
-

[Edited on 2-15-2008 by DragonRyder]
Title:
Post by: Jan Milants on February 06, 2008, 05:02:00 PM
that is not what jobe said.
He said anope cannot prevent users from leaving a channel, because it only knows about the user leaving the channel after it happened. So "lock them in the channel" is technically impossible from Anope's side. Closest would be something that forces users to rejoin, but that is just an ugly workaround.
Title:
Post by: DragonRyder on February 06, 2008, 05:08:28 PM
ah ok - sorry for the misunderstanding.

[Edited on 2-15-2008 by DragonRyder]
Title:
Post by: katsklaw on February 06, 2008, 10:07:16 PM
Anope in general can only react to events. It can not prevent events. Services is "last to know" when a user joins or parts a channel. That is why it's impossible to prevent it. Only the ircd it's self can prevent joins and parts.