mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2016
Posts: 2
K
KCK Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Oct 2016
Posts: 2
I have channels to join on connect and one of them (chan2) includes a channel password. I can't find the proper syntax to include the channel password in this scrip. Any help would be great! Thanks!

This is my script:

Code:
on *:START:{
  server stratics.frws.com 6668 -j #chan1,#chan2 chan2pwd
  server -m irc.ncdot.co.uk +6667 passwd
}

Joined: Feb 2011
Posts: 458
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 458
Code:
on *:START:{
  server stratics.frws.com 6668 -j #chan1,#chan2 ,chan2pwd
  server -m irc.ncdot.co.uk +6667 passwd
}


Notice the comma. Since channel #chan1 does not have a password you use the comma to make the script send the password for the second channel.

Example:

#chan1 - no password
#chan2 - hunter2
#chan3 - no password
#chan4 - foobar

Quote:
/join #chan1,#chan2,#chan3,#chan4 ,hunter2,,foobar

Joined: Oct 2016
Posts: 2
K
KCK Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Oct 2016
Posts: 2
Still doesn't work. This time though the error message is incorrect key as opposed to missing key. The key is correct. I can use that string to join the channel by copy paste. Any ideas how to fix it?


Link Copied to Clipboard