mIRC Home    About    Download    Register    News    Help

Print Thread
#122890 16/06/05 07:49 PM
Joined: Jun 2005
Posts: 4
T
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jun 2005
Posts: 4
When I connect to some channels, it has this error:

Target change too fast. Please wait 40 seconds.

The seconds vary

Anyone know how to fix this?

#122891 16/06/05 08:03 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
From Undernet's #Class:

<Class> "4. -Target change too fast- This message means that you are either sending too many messages to many different people, trying to join too many channels in a short period of time, or using the old /onotice command. Use the /notice @#channel command (discussed earlier in Session C)instead of /onotice. (F11)"

That said, either join fewer channels automatically, or else put a delay on your channel joining.

Example:

Code:
on *:connect: {
  if ($server == yourserver) {
    set %i 1
    .timerjoin $lines(MyChannels.txt) 2 join $read(MyChannels.txt,%i)
    .timerjoincnt $lines(MyChannels.txt) 2 inc %i
  }
}


If you turn off mIRC's join channels on connect/reconnect option, this should work for you. Place all your channels into a text file called MyChannels.txt in your mIRC folder (one channel per line with # signs). It will join one channel every 2 seconds after connecting.

Make sure you replace "yourserver" with your server. If you don't know the correct name for it, use "//echo -a $server" while you are connected to it.


Invision Support
#Invision on irc.irchighway.net
#122892 16/06/05 08:15 PM
Joined: Jun 2005
Posts: 4
T
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jun 2005
Posts: 4
Do I create a MyChannels.txt in my mirc/channels folder or mirc folder?

#122893 16/06/05 08:33 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
mIRC smile


$maybe
#122894 06/06/06 07:41 PM
Joined: Jun 2006
Posts: 3
H
Self-satisified door
Offline
Self-satisified door
H
Joined: Jun 2006
Posts: 3
Quote:
Example:

Code:
on *:connect: {
  if ($server == yourserver) {
    set %i 1
    .timerjoin $lines(MyChannels.txt) 2 join $read(MyChannels.txt,%i)
    .timerjoincnt $lines(MyChannels.txt) 2 inc %i
  }
}


I'm a real nub at mIRC and I was just wondering what script part of mIRC do you put that code in? I'm assuming "Remote" but I just want to make sure.

Secondly, I have NoNameScript installed on my mIRC and because NNS fills my remote (and most other scripting windows) with script where should I put this script? Near the front? The end?

Thanks in advance.

#122895 06/06/06 08:33 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Alt-R > File > New. Then paste it in.

Heh...that was a REALLY old post of mine. I forgot about that one. laugh


Invision Support
#Invision on irc.irchighway.net
#122896 06/06/06 09:01 PM
Joined: Jun 2006
Posts: 3
H
Self-satisified door
Offline
Self-satisified door
H
Joined: Jun 2006
Posts: 3
Quote:
Alt-R > File > New. Then paste it in.

Heh...that was a REALLY old post of mine. I forgot about that one. laugh


Woah, just noticed the dates, I googled about the target change too fast issue and didn't look at them until now blush. My bad I don't know if necromancy is bad at this forum, but I apologize.

And thanks again smile.

Last edited by heritiKyl; 06/06/06 10:55 PM.
#122897 08/06/06 11:39 PM
Joined: Jun 2006
Posts: 3
H
Self-satisified door
Offline
Self-satisified door
H
Joined: Jun 2006
Posts: 3
I'm only doubleposting to get your attention, sorry if double posting is against the rules.

Anyway, I put it in and it's not working. I changed
Code:
if ($server == yourserver) {

to

Code:
if ($network == GameSurge) {

because I don't join a static server; however, it didn't work before this change. After altering that line it joins the first channel in my list, but stops after that :\.

Sorry to pester you so much wink.

#122898 09/06/06 12:42 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ok, try this one instead:

Code:
on *:connect: {
  if ($network == GameSurge) {
    set %GameSurge.cnt 1
    .timerGameSurge $lines(MyChannels.txt) 2 JoinChannel
  }
}
alias JoinChannel {
  join $read(MyChannels.txt,%GameSurge.cnt)
  inc %GameSurge.cnt
}


Put your channels in MyChannels.txt in this format:

#channel1
#channel2
#channel3


Invision Support
#Invision on irc.irchighway.net
Joined: Jul 2010
Posts: 1
O
Mostly harmless
Offline
Mostly harmless
O
Joined: Jul 2010
Posts: 1
I know that this is an old post, but I still have the same problem,
Originally Posted By: Riamus2
Ok, try this one instead:

Code:
on *:connect: {
  if ($network == GameSurge) {
    set %GameSurge.cnt 1
    .timerGameSurge $lines(MyChannels.txt) 2 JoinChannel
  }
}
alias JoinChannel {
  join $read(MyChannels.txt,%GameSurge.cnt)
  inc %GameSurge.cnt
}


Put your channels in MyChannels.txt in this format:

#channel1
#channel2
#channel3


didnt work for me... also I recive this message:
/join: insufficient parameters (line 8, script1.ini)

BTW im a noob at this stuff... hoping u could help me, thx


Link Copied to Clipboard