Search
 
 

Display results as :
 


Rechercher Advanced Search

Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPS
Services
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC Srervices
IRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka Charybdis
TCL SCRIPT
TCL SCRIPT FOR EGGDROP Allprotection4.7 Antiproxy
Bots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm SupyBot PyLink Hopm
Latest topics
» מדריך הגנות אופרים בגירסאות IRCD
Mon May 14, 2018 5:50 am by Chief

» install irssi v1.2-1.2-dev in freebsd
Thu Mar 22, 2018 5:43 am by Chief

» install ZNC in Ubuntu 14.04
Sun Mar 04, 2018 5:50 am by Chief

» מדריך שינוי גירסאות ב FREEBSD
Fri Mar 02, 2018 8:35 am by Chief

» מדריך התקנה ZNC על WINDOWS 7
Wed Feb 21, 2018 3:30 am by Chief

» Guide install Znc in FreeBsd
Sun Feb 18, 2018 7:58 am by Chief

» Guide install InspIRCd v3.0.0a5 in FreeBsd
Thu Jan 18, 2018 9:52 pm by Chief

» mIRCx IRC Network Config
Sun Dec 10, 2017 2:22 am by Chief

» מדריך התקנה Pylink על unrealircd4 && inspircd
Sat Nov 18, 2017 6:35 am by Chief

May 2018
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031   

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


Ranged IP ScanKicker

Go down

Ranged IP ScanKicker

Post  Admin on Tue May 01, 2012 8:17 am

Code:

; [Ranged IP ScanKicker]
; by ch1zra
; ch1zra@gmail.com
; http://ch1zra.com/mirc/
; #Scripters @ irc.krstarica.com
; Copyright © 2006 Up The Irons ! inc. Scripting Team

alias -l scan.get {
  set %adrs $$input(Enter address or IP. Search uses *wildcards*. $&
    $crlf $+ Eg. 127 would match all IP's that have 127 in them. $&
    $crlf $+ NOTE : Input may consist of both letters and numbers.,ew,Enter Address For Scan&Kick!)
}

alias scan {
  if ($1 == +k) {
    if ($me isop $chan) {
      var %scan.cmd kick
      if ($2 != $null) var %adrs $2
      else scan.get
    }
    else { echo -a [Ranged IP Kick] You are not OP on $chan $+ . | return }
  }
  elseif ($1 == +kb) {
    if ($me isop $chan) {
      var %scan.cmd ban
      if ($2 != $null) var %adrs $2
      else scan.get
    }
    else { echo -a [Ranged IP Ban] You are not OP on $chan $+ . | return }
  }
  elseif ($1 == $null) scan.get
  else var %adrs $1
  var %i $nick($chan,0)
  while (%i) {
    if (%adrs isin $address($nick($chan,%i),0)) {
      if (!%scan.cmd) echo -a 4Scan Result for 3* $+ %adrs $+ * !!! $nick($chan,%i) $address($nick($chan,%i),1)
      elseif (%scan.cmd == kick) kick $chan $nick($chan,%i) IP matches with requested IP for kicking : 3* $+ %adrs $+ *
      elseif (%scan.cmd == ban) ban -ku60 $chan $nick($chan,%i) IP matches with requested IP for kick/banning : 3* $+ %adrs $+ *
      inc %scan.found
    }
    dec %i
  }
  if (%scan.found == $null) echo -a 4Scan Result NOT found for 3* $+ %adrs $+ * !!!
  unset %scan.found
  unset %adrs
}

menu channel {
  [Ranged IP ScanKicker]
  .Scan on $chan:scan
  .ScanKick on $chan:scan +k
  .ScanKickBan on $chan:scan +kb
  .About:echo -a [Ranged IP ScanKicker] by ch1zra | echo -a ch1zra@gmail.com | echo -a http://uptheirons.co.sr/
}

; [Ranged IP ScanKicker]
; by ch1zra
; ch1zra@gmail.com
; http://uptheirons.co.sr/
; #Scripters @ irc.krstarica.com
; Copyright © 2006 Up The Irons ! inc. Scripting Team
avatar
Admin
Admin

מספר הודעות : 267
Join date : 2009-09-12
Age : 37
מיקום : mIRCX IRC Network

View user profile http://mircx.forumotion.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum