Clone detector

By EcKstasy on Jul 21, 2008

clone detector for mirc,put it in remotes,when clones join your channel you will know if they are a clone,something like this :

[-12:24:28-] Joins: EcKstasy (Eck@Helper.IRCStorm.net)
[-12:24:28-] (Clones Detected) 2 Clones From
!*@Helper.IRCStorm.net
[-12:24:28-] (Clones Nicks) Jordan EcKstasy

on *:Join:#: {
  var %host_to_search_for = $address($nick,2)
  var %number_from_that_host = $ialchan(%host_to_search_for,$chan,0)
  if (%number_from_that_host > 1) {
    ;we have clones!
    ;first set up our vars and loop
    var %count = 0
    unset %clones
    :loop
    inc %count
    ;loop through every nick, adding the nicks to %clones
    var %clones = %clones $ialchan(%host_to_search_for,$chan,%count).nick
    if (%count < %number_from_that_host) { goto loop }
    echo -t $chan 5(Clones Detected) 0 %count 7Clones From 5 $address($nick,2)
    echo -t $chan 5(Clones Nicks) 12 %clones
  }
}

Comments

Sign in to comment.
Ryuki   -  Sep 16, 2008

why you write it on 2 lines ? i think it can fulfill your mirc windows if you join to channel who has so many clone, why not writ it like this:

echo -t $chan 5(Clones Detected) 0 %count 7Clones From 5 $address($nick,2):  5(Clones Nicks) 12 %clones
 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.