Substitute Textuals nick colouring with an algorithm based on avidal/irccloud-colornicks