Thanks, this seems to work. However, is there a way to disable and enable the script for different channels using an On Text command? So if '!capsban on' is entered in that channel, it turns it on, and '!capsban off' turns it off?
Anyway, thanks for the help.