Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Setting a permanent key on a channel  (Read 7674 times)

0 Members and 1 Guest are viewing this topic.

topdog

  • Guest
Setting a permanent key on a channel
« 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.
Logged

owine

  • Anope User
  • Offline Offline
  • Posts: 130
(No subject)
« Reply #1 on: June 06, 2006, 01:56:17 AM »

use modelock. /chanserv set #chan mlock +k yourkey.
Logged

SpaceDoG

  • Anope User
  • Offline Offline
  • Posts: 183
    • http://www.hypermutt.net
(No subject)
« Reply #2 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.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #3 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.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #4 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...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #5 on: June 06, 2006, 10:16:51 PM »

Viper is correct.
Logged

topdog

  • Guest
(No subject)
« Reply #6 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.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #7 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.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

topdog

  • Guest
(No subject)
« Reply #8 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.
Logged
Pages: [1]   Go Up