mIRC Home    About    Download    Register    News    Help

Print Thread
#29297 12/06/03 09:33 AM
Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
When someone do a unknown ctcp to me, I've it
ctcpreply $nick "Message here". But I do not want the reply to be reflected in the status or active window. I just want it not to appear!

Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
on *:CTCPREPLY:*: If (($1 != ping) && ($1 != time) && ($1 != version)) { haltdef }

Put that in the remote section (Alt+r)


mIRC Chm Help 6.16.0.3 Full Anchored!
Joined: Apr 2003
Posts: 210
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
Try adding a dot before ctcpreply:

/.ctcpreply $nick "Message here".

(the forward slash isn't required).

Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
Thanks for your reply. What abt something like
"abc Target change too fast. Please wait 20 seconds"?


Joined: Apr 2003
Posts: 210
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
I have no idea how to avoid it or what causes it, sorry.

It's a message from the server, I presume it's not a notice; So to catch it, you might be able to use this:

raw PROP:*Target change too fast*:{ commands }

Or if it has a specific RAW numeric, use that.

Before repeating your actions, you should probably wait the 20 seconds like it says.
It's probably not a good idea to halt this text, otherwise you can't see what's happening...

Last edited by saxon; 12/06/03 05:02 PM.
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
If I'm not mistaken, the server reports this error when you act like a spambot and send messages to too many nicknames or channels at once. That's probably a raw, and /debug @window can catch it.

Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
Spam? hey, XXX Target change too fast. Please wait 65 seconds. The XXX refer to other user and not me!

Joined: Apr 2003
Posts: 300
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
alot of the time you can get it if u have alot of on connect thing such as logins and auto join channels


Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
From features.txt (distributed with undernet's ircd ircu2.10.10)

CPRIVMSG/CNOTICE:
Version: unknown, but since 2.10.07

CPRIVMSG/CNOTICE are a way around target limiting in recent undernet
servers. Undernet servers prevent you from sending messages to too many
people at once in an attempt to help cut down the amount of spam that
occurs on the network. Because there are several situations where you want
to send messages to lots of people that are on the same channel as you
(autogreet's and gamebots for example) an 'escape' was made in the form
of CPRIVMSG/CNOTICE. These allow you to send a privmsg/notice to a person
on a common channel if you are op'd (@'d) without incuring a target
penalty. If you see 'Target changed too fast' messages, you should
probably be using these commands.

Syntax:
CPRIVMSG #channel nick :Message
CNOTICE #channel nick :Message

Results are the same as for 'PRIVMSG' and 'NOTICE' respectively.

Target limiting:
Version: Recent 2.10.07ish at least.

Undernet prevents you from changing 20 targets per 2 minutes. A target
is a 'Nick' or 'channel'. This is to prevent spam. If you message more
than 20 people or join more than 20 channels in two minutes then you'll
start getting 'Target change too fast' and will have to wait before you
can start talking. See CPRIVMSG/CNOTICE above for information on how to
avoid this.

Additional Numerics:
ERR_TARGETTOOFAST 349

Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
How to use?

Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
You either not change targets (destinations for a privmsg or notice) so fast or you use cnotice and cprivmsg. I don't really spend much time on networks using ircdu (like undernet) so I never use them. Perhaps someone on this forum is more familiar with the commands or you can seek help in one of their help channels.

If you simply want to supress the error then use a raw.

raw 349:*:halt

Last edited by Jerk; 13/06/03 06:16 AM.

Link Copied to Clipboard