Originally Posted By: Nillen
What is "timeout -ku600 # $nick 2" supposed to do?
I believe the syntax is simply "timeout $nick <time>"

yes
If it still fails, try out this script
Code:
on *:text:*:#:{
  if ($nick isop #) return
  if ( $len($1-) >= 10 ) {
    if ( $calc($regex($1-,/[A-Z]/g) / $regex($1-,/[A-Z]/gi) * 100) >= 75 ) { 
      if !$istok(%caps.warned,$nick,32) {
        msg $chan $nick -> stop typing in caps! [warning] 
        set -e %caps.warned $addtok(%caps.warned,$nick,32)
        .timer 1 300 remove.warned $nick
      }
      else msg $chan Caps again :( | msg $chan .timeout $nick 60 
    }
  }
}
alias -l remove.warned {
  set -e %caps.warned $remtok(%caps.warned,$1,1,32)
}


the 75 in
Code:
    if ( $calc($regex($1-,/[A-Z]/g) / $regex($1-,/[A-Z]/gi) * 100) >= 75 ) {
is the % of the message needed for caps block, change it on wish

Last edited by judge2020; 29/06/14 05:53 PM. Reason: added 75%

#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball