michealkenny commented on a Page, Anti-Repeat  -  Aug 22, 2010

hi BlueThen, I'm using this in the way Cheiron wanted it, as a flood gate, but is there anyway to have it so it doesn't kick ops and half-ops, and that it wont kick people for repeating lol, lmao, lmfao and haha, and other stuff like that, thank you, great script btw

this is the current script I am using.

on *:text:*:#: {
  if ($readini(logs.ini,$nick,last) == $1-) {
    if ($readini(logs.ini,$nick,warns) == $null) {
      writeini -n logs.ini $nick warns 0
    }
    writeini -n logs.ini $nick warns $calc($readini(logs.ini,$nick,warns) + 1)
    if ($readini(logs.ini,$nick,warns) == 4) {
      .kick $chan $nick Repetitive messages
    } 
  }
  if ($readini(logs.ini,$nick,last) != $1-) {
    writeini -n logs.ini $nick warns 0
  }
  writeini -n logs.ini $nick last $1-
}

thanks again - Micheál.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.