Make a script so it kicks people if they over use CAPS.

Like this

meow: This is well COOL! (Wouldn't kick)


meow: THIS IS WELL COOL! (Would kick)

After one sentence with 3 or more words in CAPS it kicks them.. Is this possible to do? And has anyone done it? i'm wondering how.