Page 1 of 1

channel modes

Posted: Fri Mar 12, 2004 11:34 pm
by BABA
All Channels stable Modes +T ?

Posted: Sat Mar 13, 2004 4:59 am
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.

mass channel

Posted: Sat Mar 13, 2004 4:22 pm
by BABA
my services anope
anope unkown mass channel commands

Unreal Module mass channel mode addon ?

Re: mass channel

Posted: Sat Mar 13, 2004 4:36 pm
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.

mass channel

Posted: Sat Mar 13, 2004 5:11 pm
by BABA
Anope services unkown MLOCK +T
and mass channel +T stable not command

Re: mass channel

Posted: Sat Mar 13, 2004 6:49 pm
by Sjef
BABA wrote:Anope services unkown MLOCK +T
and mass channel +T stable not command
Is it for 1 or for all channels??

mass channel

Posted: Sat Mar 13, 2004 8:46 pm
by BABA
all channel mode +T

Posted: Sat Mar 13, 2004 9:19 pm
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
};

channel modes

Posted: Sat Mar 13, 2004 10:30 pm
by BABA
I have added the command " modes-on-join +T; " to the conf file but it does not seem to be working.

Re: channel modes

Posted: Sat Mar 13, 2004 11:16 pm
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...

Posted: Sat Mar 13, 2004 11:16 pm
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.

Posted: Sat Mar 13, 2004 11:18 pm
by Sjef
@ Angrywolf, I didn't knew that! :oops:

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