Scan for IP at network (server)

By [DX] on Aug 29, 2008

This code allows you to check which users are connected on some IP at your network.
Code requires ircop status to be proccessed.

Example:

[15:44] *** (NETWORK) -- Starting scanning for IP: *@12.34.56.78
[15:44] *** (irc.local.net) -- User Some-Nick (id@12.34.56.78) -- Real name: aa 
[15:44] *** (irc.local.net) -- User Some-Other-Nick (id2@12.34.56.78) -- Real name: bb
[15:44] *** (NETWORK) -- Scanning for *@12.34.56.78 took 0 seconds with 2 found matches.

NOTE: Let me know about any bug

raw 352:*: {
  if (%type == ip) {
    echo -s $timestamp *** ( $+ $5 $+ ) -- User $6 ( $+ $3 $+ @ $+ $4 $+ ) -- Real name: $9- 
    inc %.scan.found 1
  }
  inc -c %sec.took 1
  halt
}
raw 315:*: { 
  if (%type == ip) {
    echo -s $timestamp *** ( $+ $network $+ ) -- Scanning for *@ $+ %.scan.ip took $round($calc(%sec.took / 100),1) seconds with %.scan.found found matches.
  }
  set %sec.took 0
  unset %.scan.ip 
  set %.scan.found 0
  unset %type
  halt 
}
menu status {
  Check Users at IP {
    if (o isincs $usermode) { 
      set %type ip
      set %.scan.ip $remove($?"Enter IP for scan:",*@,@)
      echo -s $timestamp *** ( $+ $network $+ ) -- Starting scanning for IP: *@ $+ %.scan.ip
      who +Ii %.scan.ip
    }
    elseif (o !isincs $usermode) && ($status == connected) {
      echo -s *** Can't scan for IP while you aren't oper at $network ( $+ $server $+ )
    }
    elseif (o !isincs $usermode) && ($status == disconnected) {
      echo -s *** First try to connect to server!
    }
  }
}

Comments

Sign in to comment.
johnfm   -  Apr 03, 2011

its not working even i am ircop :(

 Respond  
[DX]   -  Dec 01, 2010

Yeah

 Respond  
silent.nahid   -  Aug 23, 2010

does it work on mirc version 6.35?

 Respond  
[DX]   -  Mar 10, 2010

Right click on status and you'll see..

 Respond  
Flux   -  Feb 12, 2010

BTW how to use this sir???

 Respond  
Flux   -  Jan 06, 2010

thnx @napa182 ..

already post may request, please make sir..i need sir.. :( :(

 Respond  
napa182   -  Dec 15, 2009

@Flux maybe you should ask that in the mIRC Snippet Requests in the forums
http://www.hawkee.com/phpBB2/viewforum.php?f=9

 Respond  
Flux   -  Dec 15, 2009

can u make a !mp and !infoban script.thats the command of a moderator sir. thnx.!
if u type !mp its shows that how many ModPower do u have.
Example:
!Mp
-BOT-: You have 1300 MP left.
and if u type !infoban it shows that what time and date the person have been banned.pls make.. i need it.. :c

 Respond  
[DX]   -  Oct 06, 2008

;-)

 Respond  
stargazer989   -  Sep 23, 2008

it's a clone scanner... for I_R_COPs

 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.