Skip to content
Buzzen Chat Network

Code Help

A TG007 community discussion started by Dippy.

Discussion 2 posts
Page 1 of 1
Open
Topic #10106 · 2 published posts · 1,112 views

hello anyone any idea why this code will not kick for away flood emto?

 

raw 822:*: {
  if ($nick == $me) halt
  if ($nick isop #) { halt }
  var %tok = $numtok($1-,32)
  while (%tok) {
    if ($len($gettok($1-,%tok,32)) > 20) {
      kick # $nick No emoticon flooding please!
      halt
    }
    dec %tok
  }
}

 

Thanks :P:)

That will kick if one of the words int heir away message is more than 20 characters.

Edited May 9, 2008 11:55 PM by Travis