Sprint Color Spectrum Sprint

shows colored usernames based on 40L Sprint time

Author
Jstris Customization Database
Daily installs
0
Total installs
56
Ratings
0 0 0
Version
0.1
Created
2019-06-11
Updated
2019-06-13
License
N/A
Applies to

■ 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)')