Clone kicker

By simo on Jun 02, 2017

i forgot who the author was of this else i would have mentioned

code is not mine i modified it a small bit code was already good enough

On !^*:JOIN:#: {
  if ($nick(#,$me,@&~%)) {
    IF ($ial == $false) { .ial on }
    IF ($chan(#).ial == $false) { who # | RETURN }
    VAR %total = $ialchan($wildsite,#,0)
    IF (%total >= 3) {
      if (%modechanWQ != $true) {
        raw mode  # +MRb $address($nick,2)
        set -u5 %modechanWQ $true
        .timerclones-XS 1 10 mode $chan -MR
      }
      VAR %i = 0
      WHILE (%i < %total) {
        INC %i
        VAR %nick = $ialchan($wildsite,#,%i).nick
        VAR %all.nicks = $addtok(%all.nicks,%nick,44)
        if (!$nick(#,$nick,@&~%)) {
          if  (!$regex($address($nick,2),/(irccloud)/i)) { kick # %nick Clone flood detected from $wildsite ( $+ %total users) } 
        }
      }
      echo -c notice # *** Clone flood detected from $wildsite $+ : %all.nicks
}
  }
}

Comments

Sign in to comment.
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.