2007-01-25 06:40:21 +00:00
|
|
|
Target Change for Messages
|
|
|
|
Lee H <lee -at- leeh.co.uk>
|
|
|
|
---------------------------
|
|
|
|
|
2010-02-16 23:38:08 +00:00
|
|
|
Reworked by Jilles Tjoelker, February 2010.
|
|
|
|
|
2007-01-25 06:40:21 +00:00
|
|
|
If the server you are using uses the target change mechanism, then
|
|
|
|
restrictions are placed on how many different users you can message in a set
|
2010-02-16 23:38:08 +00:00
|
|
|
timeframe. This also applies to invites.
|
2007-01-25 06:40:21 +00:00
|
|
|
|
2010-02-16 23:38:08 +00:00
|
|
|
Target change does not apply to channels, ctcp replies, messages to
|
|
|
|
yourself or messages to services.
|
2007-01-25 06:40:21 +00:00
|
|
|
|
|
|
|
You will have a set number of 'slots', each different client you message
|
|
|
|
will take up one slot. A client doing a nick change will not use a new slot,
|
2008-03-15 23:39:49 +00:00
|
|
|
however a client disconnecting from the server it is on and reconnecting
|
|
|
|
will. You will receive 1 new slot roughly every minute.
|
2007-01-25 06:40:21 +00:00
|
|
|
|
2010-02-16 23:38:08 +00:00
|
|
|
Additionally, clients that message or invite you are placed in one of a
|
|
|
|
small number of special slots, in many cases allowing replies without using
|
|
|
|
a slot.
|
|
|
|
|
2007-01-25 06:40:21 +00:00
|
|
|
When all slots are filled, messages to new clients will not be accepted.
|
|
|
|
Messages to clients already filling a slot will be accepted. If all slots
|
|
|
|
are full, you will receive the ERR_TARGCHANGE numeric, number 707 in the
|
|
|
|
form:
|
|
|
|
:<server> 707 <yournick> <targetnick> :Targets changing too fast, message dropped
|
|
|
|
|
2010-02-16 23:38:08 +00:00
|
|
|
The slots are operated in an LRU (least recently used), so the person you
|
|
|
|
have talked to least recently will be replaced.
|
2007-01-25 06:40:21 +00:00
|
|
|
|
|
|
|
The number of slots in use will be kept through a reconnection, though the
|
|
|
|
information in those slots will be dropped. However, you will always
|
|
|
|
receive one free slot on a reconnection. Other servers using this mechanism
|
|
|
|
will also be made aware of details about slots.
|
|
|
|
|
2010-02-16 23:38:08 +00:00
|
|
|
Target change does not apply if you are opped or voiced in a channel, and
|
|
|
|
you are messaging a client within that channel. This can be done explicitly
|
|
|
|
using the CNOTICE and CPRIVMSG commands, see /quote help cnotice and /quote
|
|
|
|
help cprivmsg, but is also implicit in a normal /msg, /notice or /invite.
|
2007-01-25 06:40:21 +00:00
|
|
|
|
|
|
|
--
|