Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: topdog on June 06, 2006, 01:29:20 AM

Title: Setting a permanent key on a channel
Post by: topdog on June 06, 2006, 01:29:20 AM
I am trying to figure out how to set a key on a channel permanently. I do /mode #channame +i, then do /mode #channame +k plus the key but when noone is in the channel it doesn't stay.
Title:
Post by: owine on June 06, 2006, 01:56:17 AM
use modelock. /chanserv set #chan mlock +k yourkey.
Title:
Post by: SpaceDoG on June 06, 2006, 02:15:52 AM
There is no way to permanently set unless you have a bot (an eggdrop will do) that sits in the channel while no one is there.
Title:
Post by: Jobe on June 06, 2006, 02:51:27 PM
Quote
Originally posted by owine
use modelock. /chanserv set #chan mlock +k yourkey.


Just tested the MLOCK option and it does support and allow locking a channel key.
Title:
Post by: Jan Milants on June 06, 2006, 03:44:56 PM
yes, but if the channel is empty any1 who joins it will be able to see the key which will be set by services mlock...
Title:
Post by: Charles Kingsley on June 06, 2006, 10:16:51 PM
Viper is correct.
Title:
Post by: topdog on June 06, 2006, 11:26:04 PM
Quote
Originally posted by Viper
yes, but if the channel is empty any1 who joins it will be able to see the key which will be set by services mlock...

The channel is mode +s so noone randomly will be able to join it from a channel listing command. P.s: off-topic, I got BOPM helper and BOPM open-proxy to all work. I check the logs and it does scan for proxys, what a cool prog that is.
Title:
Post by: Jobe on June 07, 2006, 03:14:03 PM
Ok back to how this thread started. You required a way to set a key on a channel so that the key was still there when the channel is empty. The only successful way that has been suggested is by using a bot to hold the channel open.
Title:
Post by: topdog on June 07, 2006, 11:38:19 PM
actually I've gotten it to work with the mlock command and it stays even if the channel is empty, and as I've said noone except the prog. whom I've assigned has access to the channel. So all is well, thanks for all the help.