User Colors Help


I have been designing a java based chatbot for a little while now. I was wondering how (and if it is possible or are they just using a really good algorithm) people got twitch user colors to work with their clients, (i am making a display also) any help would be much appreciated!

I’m actually not sure what exactly your question is. But if you mean how you can get the color of someone’s name then you have to send TWITCHCLIENT 3 as a raw message to Twitch’s IRC server after connecting. Now, you’ll receive private messages from “jtv” right before the actual chat message looking like that:

USERCOLOR someusername #1E90FF

You can simply parse the color code.

Other Twitchclients may also work but they’re not documented anywhere as far as I know.