Greasy Fork is available in English.

Sprint Color Spectrum Sprint

shows colored usernames based on 40L Sprint time

Forfatter
Jstris Customization Database
Daglige installasjoner
0
Totale installasjoner
56
Vurderinger
0 0 0
Versjon
0.1
Lagd
11.06.2019
Oppdatert
13.06.2019
Lisens
I/T
Gjelder

■ To use this script, type /color 100 into the chatbox, replacing the "100" with however many users are in the room.
■ To change range of displayed color spectrum, change the numbers (measured in seconds) on these two lines :
var best = 25
var worst = 100
■ To change the 3-color gradient, change the RGB on these 3 lines:
var a = [255,0,0] //best
var b = [128,0,128] //medium
var d = [0,255,255] //worst
■ To change color of those users with no completed 40line Sprint, change the RGB on this line:
min||(color='rgb(75,75,75)')