Table of Contents

S2C Packet 8: Context Clear

Informs the client that a part of the context has been cleared.

This packet can mostly safely be ignored if the client manually clears contexts where sensible, e.g. when switching channels or reconnecting. In the original PHP implementation, and thus other implementations, only mode 3 is ever used when switching channels with /join.

Format

Index Type Description
0 8 Context Clear packet ID
1 int Context Clear mode

Modes

Mode Description
0 Only the message list has been cleared.
1 Only the user list has been cleared.
2 Only the channel list has been cleared.
3 Message and user lists have been cleared.
4 Channel, message and user lists have all been cleared.

Examples

Message and user lists have been cleared:

8\t3

All lists have been cleared:

8\t4

Only the message list has been cleared:

8\t0

See Also