]> jfr.im git - irc/rqf/shadowircd.git/blame - doc/tgchange.txt
Allow the final parameter of MLOCK to be empty, to remove an existing mlock
[irc/rqf/shadowircd.git] / doc / tgchange.txt
CommitLineData
212380e3 1Target Change for Messages
2Lee H <lee -at- leeh.co.uk>
3---------------------------
4
04a611e2 5Reworked by Jilles Tjoelker, February 2010.
9e94d9ea 6Channel target change added by Jilles Tjoelker, August 2010.
04a611e2 7
212380e3 8If the server you are using uses the target change mechanism, then
9e94d9ea
JT
9restrictions are placed on how many different users and/or channels you can
10message in a set timeframe. This also applies to invites (for the target
11user) and topic changes.
212380e3 12
9e94d9ea
JT
13Target change does not apply to ctcp replies, messages to yourself, messages
14to services and joins.
212380e3 15
9e94d9ea 16You will have a set number of 'slots', each different target you message
212380e3 17will take up one slot. A client doing a nick change will not use a new slot,
4d17e288
JT
18however a client disconnecting from the server it is on and reconnecting
19will. You will receive 1 new slot roughly every minute.
212380e3 20
04a611e2
JT
21Additionally, clients that message or invite you are placed in one of a
22small number of special slots, in many cases allowing replies without using
23a slot.
24
9e94d9ea
JT
25When all slots are filled, messages to new targets will not be accepted.
26Messages to targets already filling a slot will be accepted. If all slots
212380e3 27are full, you will receive the ERR_TARGCHANGE numeric, number 707 in the
28form:
9e94d9ea 29:<server> 707 <yournick> <target> :Targets changing too fast, message dropped
212380e3 30
9e94d9ea
JT
31The slots are operated in an LRU (least recently used), so the person or
32channel you have talked to least recently will be replaced.
212380e3 33
34The number of slots in use will be kept through a reconnection, though the
35information in those slots will be dropped. However, you will always
36receive one free slot on a reconnection. Other servers using this mechanism
37will also be made aware of details about slots.
38
04a611e2 39Target change does not apply if you are opped or voiced in a channel, and
9e94d9ea
JT
40you are messaging that channel or a client within that channel. The latter
41can be done explicitly using the CNOTICE and CPRIVMSG commands, see
42/quote help cnotice and /quote help cprivmsg, but is also implicit in a
43normal /msg, /notice or /invite.
212380e3 44
45--