I've been working on getting my chatbot to recognize colored text with its commands, but as of yet, I haven't worked out how to do so.

Probably the most basic command I have, !time, is listed here as an example:

Code:
on 1:text:*time:#: { .msg $chan 5It is $time EST right now. }


It works perfectly fine with anyone who doesn't have colored text, of course, but if it sees the colored text character before the !, it won't respond. Any suggestions on what I could change to get it working would be appreciated.