Sprint Color Spectrum Sprint

shows colored usernames based on 40L Sprint time

Автор
Jstris Customization Database
Установок в день
0
Всего установок
58
Оценки
0 0 0
Версия
0.1
Создан
11.06.2019
Обновлён
13.06.2019
Лицензия
Недоступно
Работает на

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