Ultimate clone scanner

By kerstt on Jun 03, 2007

I made a clone scanner and it turned out harder as i thought cause i wouldnt accept the $address cause then its very well possible many addresses arent in ur IAL.

so i decided to do it differently and used /who
it also does not lagg, i tested in #mIRC on swiftirc with 125 users and had the results in less then a second :)

thanks jaytea for telling me about /filter
when u load it it explains how it works:P

on *:load:{
  echo -ta ###############################################
  echo -ta #Clone scanner loaded                         #
  echo -ta #Made by kerst on irc.swiftirc.net            #
  echo -ta #Typ /clone #chan to start #chan is optional  #
  echo -ta #Uses /who option so might spam status        #
  echo -ta ###############################################
}
dialog clone {
  title "Clone Scanner"
  size -1 -1 259 115
  option dbu
  edit "#channel", 1, 63 4 48 10
  text "Channel to clone scan", 2, 6 5 56 8
  button "Scan", 3, 155 3 37 12
  list 4, 5 29 119 78, size hsbar vsbar
  list 5, 127 29 127 78, size hsbar vsbar
  text "User addresses", 6, 128 18 64 8
  text "Clones:", 7, 5 18 25 8
  button "clear", 8, 202 3 37 12
}
on *:dialog:clone:sclick:8:{
  .remove clones.txt
  did -r clone 4
  did -r clone 5
}
on *:dialog:clone:sclick:3:{
  .remove clones.txt
  did -r clone 4
  did -r clone 5
  if ($me !ison $did(clone,1)) join $did(clone,1) | .who $did(clone,1) | .timer -m 1 100 clonecheck
}
raw 352:*:{
  if ($dialog(clone)) {
    did -a clone 5 $6 $4 
    write clones.txt $4
  }
}
alias clone { 
  dialog -md clone clone
  if ($1) { did -ra clone 1 $1
    .who $1
    .timer -m 1 100 clonecheck
  }
}
alias clonecheck {  var %x = 1
  while ($did(clone,5,%x)) { filter -ff clones.txt NUL $gettok($did(clone,5,%x),2,32)
    if ($filtered != 1) { did -a clone 4 $did(clone,5,%x) }
    inc %x
  }
  .remove clones.txt
}
on *:dialog:clone:close:0:{
  .remove clones.txt
}

Comments

Sign in to comment.
Korvin   -  Jan 28, 2009

when i double click a name it opens a bunch of cmd prompts...

 Respond  
Joshuaxiong1   -  Oct 08, 2007

WTF my post above 28

 Respond  
Joshuaxiong1   -  Oct 08, 2007

I say this was the best clone but I change my mine and make it the second. Usually the script with box like that are the best.

 Respond  
Joshuaxiong1   -  Oct 07, 2007

I wish you can add the talk to nick/clone while on the clone list. Like tell them they have another clone on.

 Respond  
Joshuaxiong1   -  Oct 07, 2007

I wish you can add the talk/message nick while on the /clone

 Respond  
xDaeMoN   -  Jun 04, 2007

Put a /haltdef at the end of the IF statement in your raw event. You might want to add raw 315 which is the raw event for the end of the /who list. You can halt the output so you won\'t see it in your status window.

 Respond  
kerstt   -  Jun 04, 2007

i read but i dont get it how u could hide it:\

 Respond  
RusselB   -  Jun 04, 2007

To restrict or eliminate status window flooding, consider checking for the raw returns when using the /who command.
Check http://www.mirc.net/raws/ for details on raws

 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.