mIRC Clone Detector

Moderator: GeekShed.Net Staff

mIRC Clone Detector

Postby GrimReaper » Fri May 14, 2010 1:04 pm

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.
Last edited by GrimReaper on Sat Jun 19, 2010 10:50 pm, edited 1 time in total.
GrimReaper
 
Posts: 73
Joined: Wed Oct 28, 2009 4:34 pm
Location: In your router, Resetting your connection.

Re: mIRC Clone Detector

Postby therock247uk » Fri May 28, 2010 12:07 am

cheers and loaded here.
therock247uk
 
Posts: 265
Joined: Thu Oct 22, 2009 8:29 pm
Location: uk


Return to Script help

Who is online

Users browsing this forum: No registered users and 3 guests

cron