====== S2C Packet 5.0: Channel User Add ====== Informs the client that a user has joined the channel. Please note that this only occurs if the user uses [[sockchat:commands:join|/join]] to move to the current channel. If they joined by connecting, [[sockchat:s2c:user-add|S2C Packet 1.#: User Add]] will be issued instead. ===== Format ===== ^ Index ^ Type ^ Description ^ | 0 | ''%%5%%'' | Channel User Event packet ID | | 1 | ''%%0%%'' | Channel User Add packet ID | | 2 | [[sockchat:types#string|string]] | ID of the user that joined the channel | | 3 | [[sockchat:types#user_name|user name]] | Name of the user that joined the channel | | 4 | [[sockchat:types#colour|colour]] | Display colour of the user that joined the channel | | 5 | [[sockchat:types#user_perms|user perms]] | Permissions for the user that joined the channel | | 6 | [[sockchat:types#string|string]] | Message ID associated with this event | ===== Examples ===== User with ID 32 has joined the current channel: 5\t0\t32\tszy\t#7353c4\t7\f1\f0\f1\f2\t39989747251190 ===== See Also ===== * [[sockchat:s2c:channel-user-remove|S2C Packet 5.1: Channel User Remove]] - User has left the channel. * [[sockchat:s2c:channel-user-switch|S2C Packet 5.2: Channel User Switch]] - Client is being switched. * [[sockchat:commands:join|/join]] - Joins a channel.