====== S2C Packet 10: User Update ====== Informs the client that a user was updated. ===== Format ===== ^ Index ^ Type ^ Description ^ | 0 | ''%%10%%'' | User Update packet ID | | 1 | [[sockchat:types#string|string]] | ID of the updated user | | 2 | [[sockchat:types#user_name|user name]] | Updated name of the user | | 3 | [[sockchat:types#colour|colour]] | Updated display colour of the user | | 4 | [[sockchat:types#user_perms|user perms]] | Updated permissions for the user | ===== Examples ===== User 236 issues [[sockchat:commands:afk|/afk away]] command and gets marked as AFK: 10\t236\t<AWAY>_Neeko\t#ee9400\t1\f0\f0\f1\f0 User 1 issues [[sockchat:commands:nick|/nick flasg]] command and gets a nickname, with faulty permissions format: 10\t1\t~flasg\t#ff0000\t10 1 0 1 2 ===== See Also ===== * [[sockchat:s2c:user-add|S2C Packet 1.#: User Add]] - Another user is added. * [[sockchat:s2c:user-remove|S2C Packet 3: User Remove]] - Another user is removed from the current context. * [[sockchat:s2c:context-user-list|S2C Packet 7.0: Context User List]] - List of users already present in the current context. * [[sockchat:s2c:channel-user-add|S2C Packet 5.0: Channel User Add]] - A user has joined the channel. * [[sockchat:s2c:channel-user-remove|S2C Packet 5.1: Channel User Remove]] - A user has left the channel. * [[sockchat:commands:afk|/afk]] - Marks as away and sets a status message. * [[sockchat:commands:nick|/nick]] - Sets a temporary user name.