Page 1 of 1

mIRC Clone Detector

PostPosted: Fri May 14, 2010 1:04 pm
by GrimReaper
Code: Select all
on *:Join:#: {
  var %cloneaddress = $address($nick,2)
  var %clonenumbers = $ialchan(%cloneaddress,$chan,0)
  if (%clonenumbers > 1) {
    var %count = 0
    unset %clones
    :loop
    inc %count
    var %clones = $addtok(%clones,$ialchan(%cloneaddress,$chan,%count).nick,44)
    if (%count < %clonenumbers) { goto loop }
    echo -t $chan * Clones Detected: 12Total4:12 %count $+ 4. 12Address4:12 $replace($address($nick,2),.,4.12,!,4!12,@,4@12)
    echo -t $chan * Cloned Nicks:12 $replace(%clones,$chr(44),4 $+ $chr(44) $+ $chr(32) $+ 12)
  }
}


This is just a little clone detector that I made, It only works on join but will show all user's with the same hostmask/vHost.

Below is a screen shot of the clone detector and it's colors, I made it to go with my theme that I have put on the forums too.. but you can edit it to suite your needs.
Image

Updates: It now removes the last Comma from the Cloned nicks. With the help of $addtok.

Re: mIRC Clone Detector

PostPosted: Fri May 28, 2010 12:07 am
by therock247uk
cheers and loaded here.