mIRC Home    About    Download    Register    News    Help

Print Thread
improved chan key support in /server -jn #172709 14/03/07 01:25 PM
Joined: Jul 2003
Posts: 655
Om3n Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
An improved handling of channel keys in a /server command using the -jn flags would be nice. Currently if you do either of the following, both channels will not be correctly joined.

/server -m 0.0.0.0 +9031 -i nick alt -jn #chanX key,#chanN
This will join #chanX correctly, but wont join #chanN
/server -m 0.0.0.0 +9031 -i nick alt -jn #chanN,#chanX key
This will join #chanN correctly, but wont join #chanX (it will attempt to join but give a 'need correct key' error)

Not sure on an appropriate (or efficient/consistant) way to handle this due to the use of spaces and commas in mirc syntax, but any solution (within the server command that is) would be great.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Re: improved chan key support in /server -jn [Re: Om3n] #172716 14/03/07 04:11 PM
Joined: Oct 2006
Posts: 166
B
b1ink Offline
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
yeah. I would like to see that one.


Kind Regards, blink
Re: improved chan key support in /server -jn [Re: Om3n] #172940 18/03/07 01:36 PM
Joined: Dec 2002
Posts: 191
N
Nobodi Offline
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
/server -m 0.0.0.0 +9031 -i nick alt -jn #chan1,#chan2,#chan3,$chan4 *,key2,*,key4

Works for me using "*" for channels that don't have a key.

Re: improved chan key support in /server -jn [Re: Nobodi] #172944 18/03/07 02:28 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Thanks for pointing this out. While I don't use many channels that require keys, it's not something I have a problem with.

Although, looking at the request, it would make a lot more sense to me to have the channel & key combination together

eg: chan1 key1,chan2 key2,chan3 key3,...

Even if you still had to use an * for the channels that don't have keys, it would be easier (in my opinion) to be able to change it if a channel started (or stopped) using a key.