mIRC Homepage
Posted By: KCK channel password in remote.ini - 09/10/16 07:13 AM
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
}
Posted By: KindOne Re: channel password in remote.ini - 09/10/16 07:12 PM
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
Posted By: KCK Re: channel password in remote.ini - 09/10/16 08:02 PM
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?
© mIRC Discussion Forums