def arb(text, cols, split):
    """Prints a line of text in arbitrary colors specified by the numeric
    values contained in msg.cenum dictionary.
    """
    stext = text if text[-1] != split else text[0:-1]
    words = stext.split(split)
    for i, word in enumerate(words):
        col = icols[cols[i]]
        printer(word, col, end="")
        if i < len(words)-1:
            printer(split, end="")
        else:
            printer(split)
Prints a line of text in arbitrary colors specified by the numeric
    values contained in msg.cenum dictionary.