Scan for IP at network (server)
Platform: mIRC
Published Aug 29, 2008
Updated 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:
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!
}
}
}