• Home
  • Servers
  • Chat
  • Channels
  • Commands
  • Forum
  • FAQ
  • Software
  • Quotes
Topic Options
Rate This Topic
#9 - 08/01/06 01:09 AM Clone script that can ignore specific domains/IPs
usrbingeek Offline

WyldRyde Staff

Registered: 07/31/06
Posts: 646
Loc: Burlington, VT
Save the following as clonescan.mrc and load it in mIRC.

Code:
on me:*:JOIN:#:who $chan
on !*:JOIN:#:{
  if (!$read(cloneignore.txt,nw,$wildsite)) {
    if ($ialchan($wildsite,$chan,0) > 1) {
      echo -s *** starting clone scan...
      var %i = 2
      while (%i <= $ialchan($wildsite,$chan,0)) {
        echo -s 4 $ialchan($wildsite,$chan,1).nick - clone(s) Found: $ialchan($wildsite,$chan,%i).nick
        inc %i
      }
      echo -s *** clone scan complete
    }
  }
}


Create a text file and add all addresses you wish to ignore, each on a its own line. They should be added with the following format:
*!*@example.com
*!*@example2.com
*!*@example3.com

The file should be saved to your mIRC directory and be named cloneignore.txt
_________________________
WyldRyde IRC Network
Steve Mermelstein
Root Admin

#!/usr/bin/geek
My Amazon.com Wishlist

Please no PMs. Please post to a topic instead so your question(s) may benefit others.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top


Moderator:  Jeff, mandy, usrbingeek