LibraIRC.net Forums

Full Version: KVIrc Clone Scanner
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here is a clone scanner.
How to use:

1-) The alias /scan nick - optional
2-) The alias /scan #channel  - optional
3-) The popup at right click in the channel "Clone Scanner" (Does scan whole channel as above)
4-) It will show the clones as well when someone join your channel.

How to install: Download the file called CloneScanner.kvs from this post, and follow "Scripting,  Execute Script,  Find the  CloneScanner.kvs file, Double click" thats it  Smile

Or Copy the code and paste in a .kvs file Smile

Code:
addon.register("CloneScanner","1.0","CloneScanner","Erkan","4.0.1"){
    event(OnJoin,clonescan){}
    alias(clones){}
    alias(scan){}
    delpopupitem -d -q channeltextview CloneScanner
    echo CloneScanner has been uninstalled succesfully.
}

alias(clones)
{
    foreach (%user, $chan.users) {
            if ($iswellknown(%user) && $hostname(%user) == $hostname($0) && %user != $0) {
                    %clones <+ $link(%user, nick);
            }
    }
    
    if (!$isempty(%clones)) {
            timer -s ($rand, 1, $0, %clones) {
                    echo -i=$msgtype(genericstatus) $k(4)Clones for $b$link($0, nick)$b\: $str.join(", ", $1);
            }
    }
}
alias(scan)
    foreach (%nick, $chan.users) {
    clones %nick;
}
event(OnJoin,clonescan)
{
    clones $0;
}

defpopup -m (channeltextview)
{
    separator
    item(Clone Scanner,125,CloneScanner) {
    scan $chan.name
    }
}

# CloneScanner :)
echo CloneScanner has been installed succesfuly :)
Hi


Thanks! I am on Mac OS X and use KVIRC...




Happen to have any more scripts?