channel modes

These are old archives. They are kept for historic purposes only.
Post Reply
BABA
Posts: 29
Joined: Mon Mar 08, 2004 3:02 pm

channel modes

Post by BABA »

All Channels stable Modes +T ?
DeMiNe0
Posts: 50
Joined: Sat Feb 28, 2004 4:11 am

Post by DeMiNe0 »

Unreal Doesnt currently have a mass channel mode command, so there is no way to do it right now. You best bet is to look into your services.
BABA
Posts: 29
Joined: Mon Mar 08, 2004 3:02 pm

mass channel

Post by BABA »

my services anope
anope unkown mass channel commands

Unreal Module mass channel mode addon ?
Sjef
Posts: 11
Joined: Wed Mar 10, 2004 10:12 am
Location: Mijnstreek Oost
Contact:

Re: mass channel

Post by Sjef »

IIf you want the mode to stay permanent in the channel read this:
set::restrict-channelmodes <modes>

Restrict users to set/unset the channelmodes listed here (don't use + or -).
For example you can set +G in modes-on-join and G in restrict-channelmodes, that way you can force all (new) channels to be +G and unable to do -G.

NOTE: it may still be possible to use these channelmodes trough services by using MLOCK. Unfortunately we can't do much about that, you would have to ask the services coders to implement a restrict-channelmodes feature too.
BABA
Posts: 29
Joined: Mon Mar 08, 2004 3:02 pm

mass channel

Post by BABA »

Anope services unkown MLOCK +T
and mass channel +T stable not command
Sjef
Posts: 11
Joined: Wed Mar 10, 2004 10:12 am
Location: Mijnstreek Oost
Contact:

Re: mass channel

Post by Sjef »

BABA wrote:Anope services unkown MLOCK +T
and mass channel +T stable not command
Is it for 1 or for all channels??
BABA
Posts: 29
Joined: Mon Mar 08, 2004 3:02 pm

mass channel

Post by BABA »

all channel mode +T
Sjef
Posts: 11
Joined: Wed Mar 10, 2004 10:12 am
Location: Mijnstreek Oost
Contact:

Post by Sjef »

To keep the mode permanent on all the network channels:
set::modes-on-join <+modes>;
The modes that will be set on a channel when it is first created. Not all modes can be set using this command. +qaohvbeOAzlLk can NOT be set using this command.

set::restrict-channelmodes <modes>
Restrict users to set/unset the channelmodes listed here (don't use + or -).
For example you can set +G in modes-on-join and G in restrict-channelmodes, that way you can force all (new) channels to be +G and unable to do -G.

NOTE: it may still be possible to use these channelmodes trough services by using MLOCK. Unfortunately we can't do much about that, you would have to ask the services coders to implement a restrict-channelmodes feature too.
It would look like:
set {
modes-on-join +T;
restrict-channelmodes T
};
BABA
Posts: 29
Joined: Mon Mar 08, 2004 3:02 pm

channel modes

Post by BABA »

I have added the command " modes-on-join +T; " to the conf file but it does not seem to be working.
Sjef
Posts: 11
Joined: Wed Mar 10, 2004 10:12 am
Location: Mijnstreek Oost
Contact:

Re: channel modes

Post by Sjef »

BABA wrote:I have added the command " modes-on-join +T; " to the conf file but it does not seem to be working.
Did you add restrict aswell? Both added to your set block? And did you rehashed your server?

Please read the docs aswell...
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

That's because +T is an extended channel mode, and unfortunately extended channel modes are not supported in set::modes-on-join yet. If you want to know, the next UnrealIRCd release will have have this support.
Sjef
Posts: 11
Joined: Wed Mar 10, 2004 10:12 am
Location: Mijnstreek Oost
Contact:

Post by Sjef »

@ Angrywolf, I didn't knew that! :oops:

/* offtopic
Thx for your modules btw.
offtopic */
Post Reply