Page 1 of 1

how to prevent users from going to channel

Posted: Wed Dec 26, 2007 4:48 pm
by unix4linux
Ok,

I have created various channels and there is one channel I want to make private so no one can enter it unless if I invite them. I can still manage to get into the channel although I have specified these settings on my unrealircd.conf file:

allow channel {
channel "#meetings";
modes-on-connect "+ip";
};

My other question is, I have set topics to my rooms like this:

official-channels {
"#testchannel" { topic "This is a test topic"; };
};

but the topics don't ever show up when I enter the room and if I type /topic it says there is no topic set

I am just lost with most of the stuff in the docs. I am pretty much following the docs and the examples from the example.conf file

I would like so that whenever anyone logs into any channel, the rules are displayed automatically and the topic as well

Re: how to prevent users from going to channel

Posted: Thu Dec 27, 2007 12:33 am
by Stealth
You can't put modes-on-connect in allow channel.

1) If you want only yourself and whoever you invite to join, you will need to use services to do that.

2) Topics are only for display in /list when the channel is empty. If you want the topic to be there when someone joins, you need to use services to do that.

Both of these are explained in the documentation.

Re: how to prevent users from going to channel

Posted: Thu Dec 27, 2007 4:46 am
by unix4linux
Is this in the ircservices.conf file or is it a block called services that I have to create? Can you be kind to show me an example?

Thanks :-)

Re: how to prevent users from going to channel

Posted: Thu Dec 27, 2007 10:37 am
by Jobe
It wont be in the services config file either. You need to register the channel with ChanServ or alternative services "bot" on your network. Alternativly you will need to run a bot of your own such as an eggdrop, have the bot idle in the channel and maintain channel mode +i and/or +s.

Re: how to prevent users from going to channel

Posted: Thu Dec 27, 2007 11:26 am
by unix4linux
Ahhhhh...ok ok...I guess this is where my Enope App comes in...thanks for the info/help