I feel like I need to be spoon feed how to do this stuff. Ugh, Okay I got it to work, now how do I use it so when I send the output the new color code. Here's 2 cents of code.

Code:
%nextcolor = $get_end_cc(%oldtext)
say  %nextcolor  %nexttext
 


This doesn't seem to work for me. How do I use this value now to send a color code for the next string?

Rennir