Jump to content

Code Help


Dippy

Recommended Posts

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:)

Link to comment
Share on other sites

Guest Travis

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

Edited by Travis
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...