DM colorization

Each user DMing will be a different color.

Verzia zo dňa 05.04.2023. Pozri najnovšiu verziu.

Autor
7trail
Hodnotenie
0 0 0
Verzia
0.2
Vytvorené
28.03.2023
Aktualizované
05.04.2023
Veľkosť
4,6 KB
Licencia
MIT
Spustiť na

Dreamychat, an IRC, has all Whispers (DMs) set to a shade of green. This makes it confusing and makes all DMs appear to be coming from one user.

This plugin gives each user an assigned random color. Unless the user changes their username, their color will remain consistent across sessions (and, presumably, devices). All colors, minus two users, are randomized.

This script uses the MIT license. Enjoy.

Changelog: v0.2 - Added whisper coloring, switched from random RGB to random hue to make brightness/vibrance of colors more consistent. Dark and Light themes now have different lightness values. v0.1 - Initial.