|
Joined: Jan 2003
Posts: 108
Vogon poet
|
OP
Vogon poet
Joined: Jan 2003
Posts: 108 |
If I usejoin -x #Conversion,#neco,#Wayside,#NCgamers,#Aftermath after being connected to a server the only way ive been able to introduce a channel with a key is using another instance of join.. ie: join -x #Conversion,#neco,#Wayside,#NCgamers,#Aftermath
join -x #tribes otherkey anyone have any ideas about how consolidating it, as in using the key in one join instead of two
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
join -x #tribes,#Conversion,#neco,#Wayside,#NCgamers,#Aftermath otherkey Should work..
|
|
|
|
Joined: Jan 2003
Posts: 108
Vogon poet
|
OP
Vogon poet
Joined: Jan 2003
Posts: 108 |
I tried that, it just kind of skipped over it and left anything from the key point blank
|
|
|
|
Joined: Jan 2003
Posts: 1,063
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 1,063 |
/join -inx #chan1,#chan2,#chan3 key1,key2,key3
if a channel has no key just fill in NO_KEY or something for the key because if you give a key to a channel without +k it will just be ignored... haven't had any problems with this
If it ain't broken, don't fix it!
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
Thats not how you are supposed to do it, you are supposed to leave the key for the channel blank:
/join -inx #chan1,#chan2,#chan3 key1,,key3
That uses a key on #chan1 and #chan3.
|
|
|
|
Joined: Jan 2003
Posts: 108
Vogon poet
|
OP
Vogon poet
Joined: Jan 2003
Posts: 108 |
The only way ive gotten it to work is using Doqnach's approach. For some reason if you leave the first one blank it screws the rest of them up.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
; syntax: /join [-inx] <#Channel1[:password1]>,[Channel2[:Password2]],...,[ChannelN[:PasswordN]]
/j {
if ($chr(35) !isin $1) var %params = $1, %chans = $1-, %a = 1
else var %chans = $1-, %a = 1
while ($gettok(%chans, %a, 44)) {
var %curchan = $ifmatch
if (#*:* iswm %curchan) /join %params %join $gettok(%curchan, 1, $asc(:)) $gettok(%curchan, 2, $asc(:))
else /join %params %curchan
/inc %a
}
}
/j -n #king-tomato,#private:mypassword,#kingtomato,#help,#mirc:scripting That would join all the channels, using property -n (from /join syntax) and then use a password for #private and #mirc.
-KingTomato
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
But that sorta eliminates the purpose of /join supporting a list of chans... saving bandwidth.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
I could take it a step further, and exclude channels that have keys, and join them individually So if i had:
#chan1 #chan2 bah #chan3 #chan4 blah #chan5 #chan6
and did /j #chan1,#chan2:bah,#chan3,#chan4:blah,#chan5,#chan6
break it down into
/join #chan1,#chan3,#chan5,#chan6 /join #chan2 bah /join #chan4 blah
-KingTomato
|
|
|
|
|