the only way that I can think of to do this would be very very slow. You (your script) has to check each character of each post to see if it has all caps
but testing is going to be very slow, I dont know if there is a regex solution, but I'm guessing no.
as a test you might try
on *:text:*:#:{
var %text = $1-
var %count = $len(%text)
var %i = 1, %place, %prct
while (%i <= %count) {
var %place = $mid(%text,%i,1)
if (%place isalpha) && (%place isupper) {
inc %prct
}
inc %i
}
var %check = $calc((%prct / %count) * 100)
if ( %check > 10) { echo $chan $nick might be talking in all caps }
}
then have someone talk using a mix of letters and numbers as if describing a math problem
or an IP address