mIRC Homepage
Posted By: TB303 after ZNC reconnect mIRC opens same network 4x - 22/07/18 06:58 AM
hello,

I have a weird problem with mIRC, since I switched to using a connect script.

I have mIRC 7.52 which connects over ZNC bnc to 4 different IRC networks.

my script looks like this:

Code:
on *:start: {
  server xxx.xxx.xxx.xxx:+25052 username/IRCNet1:password
  server -m xxx.xxx.xxx.xxx:+25052 username/IRCNet2:password
  server -m xxx.xxx.xxx.xxx:+25052 username/IRCnet3:password
  server -m xxx.xxx.xxx.xxx:+25052 username/IRCNet4:password
}


it works fine so far, until my connection drops for some reason.

after reconnect mIRC opens only the first network but this 4 times!

the first one is the one with the most channels (>20) which get listed 4x obviously. this causes trouble in another script which I'm using.

does anyone know how to solve this annoying issue?

might this be something to make a bugreport?

thnx in advance
This is a tricky issue that has to do with saved server names and groups, and the cached info per server connection instance. I assume all 4 instances are of the same IP address.

What you need to do is merely save 4 different Servers under 4 different Groups. use: server [-m] groupname

The correct instance data will be cached for each opened server window.
Posted By: Raccoon Re: after ZNC reconnect mIRC opens sa - 22/07/18 07:58 AM
Khaled: Is this the result of changes to saved servers we recently made? Are server instance caches flushed between connections, even if no changes to matching saved server addresses are made?
yeah, you assumed right. it was 4x the same ip.
I changed it how you said (I already had groups for each network) and it works just fine!

thnx for the quick help!

mIRC forever! <3

smile
© mIRC Discussion Forums