feed Subscribe to feed
Download scripts for mIRC (snipets, add-ons, scripts and bots) and PHP
20. 03
2007

mIRC IP Scanner

Written by: ohav79 - Posted in: mIRC Snipets

This snipet can be used to scan certain IP address that used by users in the channel

This snipet is useful to detect people who makes trouble in your channel, e.g: spammer, inviter, or virus

You have three options:

1. Just scan people
2. Scan and kick all people with the same IP
3. Scan, kick, and ban all people with the same IP

You can use this script too to check users that will affected if you’re banned an IP/hostmask

This is the code:

; Scan IP by oyr79
; http://mirc.oyr79.com
; Copyright © 2007

alias -l ask.scan {
%add = $$input(Enter Hostmask to be scanned (You may use *wildcard*) $&
$crlf $+ Eg. 202 would match all IP's that have 202 $&
$crlf $+ *** Input may consist of both letters and numbers,ew,Enter Address For Scan)
}

alias scan {
if ($1 == k) {
if ($me isop $chan) {
var %cmd = kick
if ($2 != $null) var %add = $2
else ask.scan
}
else { echo 4 -a *** You are not OP on $chan $+ . | return }
}
elseif ($1 == kb) {
if ($me isop $chan) {
var %cmd = ban
if ($2 != $null) var %add = $2
else ask.scan
}
else { echo 4 -a *** You are not OP on $chan $+ . | return }
}
elseif ($1 == $null) ask.scan
else var %add = $1
var %i $nick($chan,0)
if ($chr(42) !isin %add) var %add = * $+ %add $+ *
while (%i) {
if (%add iswm $address($nick($chan,%i),0)) {
if (!%cmd) echo 6 -a 4Scan Result for 3 $+ %add $+  --> $nick($chan,%i) ( $+ $address($nick($chan,%i),1) $+ )
elseif (%cmd == kick) kick $chan $nick($chan,%i) Kick all IP with: 4 $+ %adrs $+ 
elseif (%cmd == ban) ban -ku60 $chan $nick($chan,%i) Kick and ban all IP with: : 4 $+ %adrs $+ 
inc %sfound
}
dec %i
}
if (%sfound == $null) echo 4 -a Scan Result NOT found for  $+ %add $+ 
unset %sfound
unset %add
}

menu channel {
IP Scanner
.Scan on $chan:scan
.ScanKick on $chan:scan k
.ScanKickBan on $chan:scan kb
.About:echo 5 -a IP Scanner by oyr79 | echo 5 -a http://mirc.oyr79.com | echo 5 -a hanks for using this script
}

5 Comments »

  1. andrew has made a Comment

    wa,…aku bingung tu,..gimana downloadnya.///bisa di ajarin ga ya??????
    ^_^

    August 18, 2007 @ 7:00 pm

  2. oyr79 has made a Comment

    andrew: baca di Tutorials, thx ^ ^

    August 25, 2007 @ 5:52 pm

  3. RicK has made a Comment

    gimana cara nya

    cara menggunakannya

    ajari aq donk

    February 22, 2008 @ 8:07 pm

  4. oyr79 has made a Comment

    Simpel aja, di channel klik kanan, nanti akan ada pilihan “IP Scanner”

    Kalo mouse diarahkan ke “Ip Scanner” muncul beberapa pilihan lagi:

    - Scan on #channel
    - ScanKick on #channel
    - ScanKickBan on #channel
    - About

    Nanti akan muncul pop up untuk diisi dengan alamat IP/host yang akan discan

    Masukkan alamat IP/host yang akan discan, trus klik OK

    February 23, 2008 @ 10:43 am

  5. Dr`Thrax has made a Comment

    salam..aku dari malaysia..mau tanya kalian..kamu semua main revenge kick / war?
    sini aku ada satu port/server utk main war
    /server bohsia.kicks-ass.org 6667 -j #rekick
    kick sahaja..no deop ban change nick n etc

    April 13, 2008 @ 9:57 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment



*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

About me

Let's share your script here.

Search scripts...

Recent comments