Forgive my noobishness, and this is likely something very simple but I can't seem to find the answer.

I have an on text script that sends out an auto-reply but it uses colored text...which is fine except when on a channel with mode +c. Is there any identifier that I can use to check if the mode is set +c? Then with a simple if statement i can setup my script to send a non-colored version to those channels, while keeping my colored version for other channels.