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