PowerPuffGold.2000 — File Browser

PowerPuffGold.2000v2.0 / PowerPuffGold.2000v2.0 / PowerPuffGold2000 / remotes / pervscan.mrc

pervscan.mrc — 16.57 KB — Download this file

;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
;°°°°°°°°°°°°°°°° <<PowerPuffGold.2000>> °°°°°°°°°°°°°°°°°°
;°°°°°°°°°°°°°°° written by sunny` and kara`°°°°°°°°°°°°°°°°°
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
;.........................Feel free to make any............................
;..................changes/add-ons/etc u wish........................
;...........but be warned, this is a mutli-level script,...........
;.......what u may think is a minor change may affect......
;.............. many other aspects of the script, so.............. 
:..............dont blame us when ya mess it all up!!..............
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
;24kpscan 1/3
;
on 1:LOAD: {
  if ($version < 5.5) { echo -s 8,1<<24Kara`t 4PervScan8>>12 will NOT function on any mIRC version below 5.5. You have version $version $+ . Please upgrade to at least 5.5 before attempting to load 8,1<24K>4PervScan again. | unload -rs pervscan.mrc | halt }
  if ($version >= 5.5) { load -rs $scriptdirpervnick.mrc | load -rs $scriptdirpervpop.mrc | pscanload | pwelcome }
}
on 1:CONNECT:unset %cl* | unset %pmv* | if (%opnr = on) { window -n @PervScan_Violations }
#pervscan off
on 1:JOIN:#: {
  if (%pcs = on) { 
    set %pcs.count 1
    :loop
    if ($chan = $gettok(%pnac,%pcs.count,32)) { set % [ $+ [ cl [ $+ [ $nick ] ] ] ] $chan | set % [ $+ [ clwarn [ $+ [ $nick ] ] ] ] 0 | whois $nick | .timer 1 115 set % [ $+ [ cl [ $+ [ $nick ] ] ] ] $chan | .timer 1 115 set % [ $+ [ clwarn [ $+ [ $nick ] ] ] ] 0 | .timer 1 120 whois $nick | return }
    inc %pcs.count
    if ($gettok(%pcs,%pcs.count,32) = $null) { whois $nick | return }
    goto loop
  }
  else { set % [ $+ [ cl [ $+ [ $nick ] ] ] ] $chan | set % [ $+ [ clwarn [ $+ [ $nick ] ] ] ] 0 | whois $nick | .timer 1 115 set % [ $+ [ cl [ $+ [ $nick ] ] ] ] $chan | .timer 1 115 set % [ $+ [ clwarn [ $+ [ $nick ] ] ] ] 0 | .timer 1 120 whois $nick }
}
raw 319:*: {
  if (%pswarn = on) { goto next2 }
  if (%pswarn = off) { goto next }
  :next
  set %psc 1
  :loop
  if ($gettok(%pschan,%psc,32) == $null) { unset % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $chan | unset % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] | goto end }
  if ($gettok(%pschan,%psc,32) isin $3-) && (% [ $+ [ cl [ $+ [ $$2 ] ] ] ] != $null) && ($$2 ison % [ $+ [ cl [ $+ [ $$2 ] ] ] ]) { ban -u $+ %blength % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $$2 3 | kick % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $$2 8,1<24K>4PervScan2 Offensive Channel(s) Detected. 2(Kick - %tpc $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 8,1<24K>4PervScan2 $$2 was kicked from % [ $+ [ cl [ $+ [ $$2 ] ] ] ] ( $+ $3- $+ ) } | unset % [ $+ [ cl [ $+ [ $$2 ] ] ] ] | unset % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] | inc %tpc }
  inc %psc
  goto loop
  :next2
  %pscw = 1
  inc % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ]
  :loop2
  if (% [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] > 1) && ($gettok(%pschan,%pscw,32) == $null) { msg $$2 8,1<24K>4PervScan2 Thank you. | if (%opnr = on) { onotice % [ $+ [ cl [ $+ [ $$2 ] ] ] ] 8,1<24K>4PervScan2 $$2 has either left this channel, or complied with the warning } | unset % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $chan | unset % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] | return }
  if ($gettok(%pschan,%pscw,32) == $null) { unset % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $chan | unset % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] | return }
  if (% [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] = 4) && ($gettok(%pschan,%pscw,32) isin $3-) && ($$2 ison % [ $+ [ cl [ $+ [ $$2 ] ] ] ]) { ban -u $+ %blength % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $$2 3 | kick % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $$2 8,1<24K>4PervScan2 Offensive Channel(s) Detected 2(Kick - %tpc $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 8,1<24K>4PervScan2 $$2 was kicked from % [ $+ [ cl [ $+ [ $$2 ] ] ] ] ( $+ $3- $+ ) } | unset % [ $+ [ cl [ $+ [ $$2 ] ] ] ] | inc %tpc | unset % [ $+ [ cl [ $+ [ $$2 ] ] ] ] $chan | unset % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] | goto end }
  if ($gettok(%pschan,%pscw,32) isin $3-) && ($$2 ison % [ $+ [ cl [ $+ [ $$2 ] ] ] ]) && (% [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] = 1) && (%opnr = on) { onotice % [ $+ [ cl [ $+ [ $$2 ] ] ] ] 8,1<24K>4PervScan2 $$2 has been warned to leave the channel(s) they are on. They will recieve 3 warnings 30 seconds apart, before they are kicked and/or banned }
  if ($gettok(%pschan,%pscw,32) isin $3-) && ($$2 ison % [ $+ [ cl [ $+ [ $$2 ] ] ] ]) { msg $$2 8,1<24K>4PervScan2 Please leave the offensive channel(s) | echo -a 8,1<24K>4PervScan2 $$2 has been warned about the channel(s) they are on. ( $+ % [ $+ [ clwarn [ $+ [ $$2 ] ] ] ] of 3) | .timer 1 20 whois $$2 | goto end }
  inc %pscw
  goto loop2
  :end
}
#pervscan end
#pervscan2 off
raw 311:*: {
  if (%pcs = on) {
    if (%pnac = $null) { return }
    set %ircchan $comchan($2,0)
    :outsideloop
    if (%ircchan = 0) { return }
    set %pcir.count 1
    :insideloop
    if ($comchan($2,%ircchan) = $gettok(%pnac,%pcir.count,32)) { goto start }
    inc %pcir.count
    if ($gettok(%pnac,%pcir.count,32) = $null) { dec %ircchan | goto outsideloop }
    goto insideloop
  }
  :start
  %raww = 1
  :loop
  if ($gettok(%pervscan,%raww,32) == $null) { return }
  if ($gettok(%pervscan,%raww,32) isin $6-) { set %rnv on | set %idv off | goto chan }
  if ($gettok(%pervscan,%raww,32) isin $gettok($3,1,64)) { set %idv on | set %rnv off | goto chan }
  inc %raww
  goto loop
  :chan
  if ($me !isop $comchan($2,1)) { goto end }
  set %r $comchan($2,0)
  set %rch $comchan($2,1)
  if (% [ $+ [ rvio [ $+ [ $$2 ] ] ] ] isin $$2) && (%rnv = on) && ($2 ison $comchan($2,%r)) { set %rnvn $2 | set %rnvc $comchan($2,%r) | ban %rnvc $2 3 | kick %rnvc $2 8,1<24K>4PervScan2 Offensive Real Name Detected. %trn | if (%opnr = on) { onotice %rnvc 8,1<24K>4PervScan12 %rnvn was kick/banned for having an offensive word in the real name } | msg %rnvn 8,1<24K>4PervScan12You were kicked for having an offensive real name in your /whois response. | unset %rnv | inc %trn | unset % [ $+ [ rvio [ $+ [ $nick ] ] ] ] | goto rnv2 }
  if (% [ $+ [ rvio [ $+ [ $$2 ] ] ] ] isin $$2) && (%idv = on) && ($2 ison $comchan($2,%r)) { set %idvn $2 | set %idvc $comchan($2,%r) | ban %idvc $2 3 | kick %idvc $2 8,1<24K>4PervScan2 Offensive User ID Detected %tid | if (%opnr = on) { onotice %idvc 8,1<24K>4PervScan2 %idvn was kick/banned for having an offensive word in the User ID } | msg %idvn 8,1<24K>4PervScan12You were kicked for having an offensive User ID in your /whois response. | unset %idv | inc %tid | unset % [ $+ [ rvio [ $+ [ $nick ] ] ] ] | goto idv2 }
  if (%rnv = on) && ($2 ison $comchan($2,%r)) { set %rnvn $2 | set %rnvc $comchan($2,%r) | ban -u $+ %blength $comchan($2,%r) $2 3 | kick $comchan($2,%r) $2 8,1<24K>4PervScan2 Offensive Real Name Detected (Kick - %trn $+ ) | if (%opnr = on) { onotice %rnvc 8,1<24K>4PervScan12 %rnvn was kick/banned for having an offensive word in the real name portion } | msg %rnvn 8,1<24K>4PervScan12 Auto kick! ( $+ %blength second ban): You were kicked for having an offensive real name in your /whois response. Please change it before coming back. | unset %rnv | inc %trn | goto rnv }
  if (%idv = on) && ($2 ison $comchan($2,%r)) { set %idvn $2 | set %idvc $comchan($2,%r) | ban -u $+ %blength $comchan($2,%r) $2 3 | kick $comchan($2,%r) $2 8,1<24K>4PervScan2 Offensive User ID Detected (Kick - %tid $+ ) | if (%opnr = on) { onotice %idvc 8,1<24K>4PervScan12 %idvn was kick/banned for having an offensive word in the User ID } | msg %rnvn 8,1<24K>4PervScan12 Auto kick! ( $+ %blength second ban): You were kicked for having an offensive user ID in your /whois response. Please change it before coming back. | unset %idv | inc %tid | goto idv }
  goto end
  :rnv
  if (@PervScan_Violations != $null) { echo @PervScan_Violations 8,1<24K>4PervScan2 Real Name Violation: $2 on $comchan($2,%r) ( $6- ) } | set % [ $+ [ rvio [ $+ [ $nick ] ] ] ] $nick | .timer 1 600 unset % [ $+ [ rvio [ $+ [ $nick ] ] ] ] | goto end
  :idv
  if (@PervScan_Violations != $null) { echo @PervScan_Violations 8,1<24K>4PervScan2 User ID Violation: $2 on $comchan($2,%r) ( $gettok($3,1,64) ) } | set % [ $+ [ rvio [ $+ [ $nick ] ] ] ] $nick | .timer 1 600 unset % [ $+ [ rvio [ $+ [ $nick ] ] ] ] | goto end
  :rnv2
  if (@PervScan_Violations != $null) { echo @PervScan_Violations 8,1<24K>4PervScan2 Real Name Violation:(repeat) $2 on $comchan($2,%r) ( $6- ) } | goto end
  :idv2
  if (@PervScan_Violations != $null) { echo @PervScan_Violations 8,1<24K>4PervScan2 User ID Violation:(repeat) $2 on $comchan($2,%r) ( $gettok($3,1,64) ) } | goto end
  :end
  unset %rnv
  unset %idv
}
#pervscan2 end
ctcp 1:PPGFUN: $2-
#PottyMouth off
on 1:TEXT:*:#: {
  if (%pcs = on) { 
    set %pcs.count 1
    :looploopstart
    if ($chan = $gettok(%pnac,%pcs.count,32)) { goto step }
    inc %pcs.count
    if ($gettok(%pcs,%pcs.count,32) = $null) { return }
    goto loopstart
  }
  :step
  set %potty $1-
  %cpm = 1
  :loop
  if $gettok(%pmouth,%cpm,32) == $null goto end
  if $gettok(%pmouth,%cpm,32) isin $1- { goto next }
  inc %cpm
  goto loop 
  :next
  if (%nwn = on) && (% [ $+ [ pmv [ $+ [ $nick ] ] ] ] != 2) { set % [ $+ [ pmv [ $+ [ $nick ] ] ] ] 1 }
  if (% [ $+ [ pmv [ $+ [ $nick ] ] ] ] = 2) && ($me isop $chan) { ban $chan $nick 3 | kick $chan $nick 8,1<24K>4PervScan5-=12PottyMouth5=- 2(Kick - %tpm $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 BAN $nick on $chan ( $1- ) } | msg $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Auto ban! You have been banned for use of offensive language on $chan $+ . | inc %tpm | set %permban off | unset % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | goto end }
  if (% [ $+ [ pmv [ $+ [ $nick ] ] ] ] = 1) && ($me isop $chan) { ban -u $+ %blength $chan $nick 3 | kick $chan $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 %blength sec. ban. 2(Kick - %tpm $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 BAN $nick on $chan ( $1- ) } | msg $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Auto ban! You have been banned for use of offensive language on $chan $+ . | inc %tpm | inc % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | .timer 1 300 unset % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | goto end }
  if ($me isop $chan) { kick $chan $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2  Come back when you've washed out your mouth! 2(Kick - %tpm $+ ) | msg $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Auto kick! Next time you will be banned. | set % [ $+ [ pmv [ $+ [ $nick ] ] ] ] 1 | .timer 1 300 unset % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 $nick on $chan ( $1- ) } | inc %tpm | goto end } 
  :end
}
on 1:ACTION:*:#: {
  if (%pcs = on) { 
    set %pcs.count 1
    :looploopstart
    if ($chan = $gettok(%pnac,%pcs.count,32)) { goto step }
    inc %pcs.count
    if ($gettok(%pcs,%pcs.count,32) = $null) { return }
    goto loopstart
  }
  :step
  %cpm = 1
  :loop
  if $gettok(%pmouth,%cpm,32) == $null goto end
  if $gettok(%pmouth,%cpm,32) isin $1- { goto next }
  inc %cpm
  goto loop 
  :next
  if (%nwn = on) && (% [ $+ [ pmv [ $+ [ $nick ] ] ] ] != 2) { set % [ $+ [ pmv [ $+ [ $nick ] ] ] ] 1 }
  if (% [ $+ [ pmv [ $+ [ $nick ] ] ] ] = 2) && ($me isop $chan) { ban $chan $nick 3 | kick $chan $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2(Kick - %tpm $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 BAN $nick on $chan ( $1- ) } | msg $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Auto ban! You have been banned for use of offensive language on $chan $+ . | inc %tpm | set %permban off | unset % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | goto end }
  if (% [ $+ [ pmv [ $+ [ $nick ] ] ] ] = 1) && ($me isop $chan) { ban -u $+ %blength $chan $nick 3 | kick $chan $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 %blength sec. ban. 2(Kick - %tpm $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 BAN $nick on $chan ( $1- ) } | msg $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Auto ban! You have been banned for use of offensive language on $chan $+ . | inc %tpm | inc % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | .timer 1 300 unset % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | goto end }
  if ($me isop $chan) { kick $chan $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Come back when you've washed out your mouth! 2(Kick - %tpm $+ ) | msg $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 Next time you will be banned. | set % [ $+ [ pmv [ $+ [ $nick ] ] ] ] 1 | .timer 1 300 unset % [ $+ [ pmv [ $+ [ $nick ] ] ] ] | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 $nick on $chan ( $1- ) } | inc %tpm | goto end } 
  :end
}
#PottyMouth end
#PottyQuery off
on 1:TEXT:*:?: {
  %cpmi = 1
  :loop
  if ($gettok(%pmouth,%cpmi,32) == $null) { goto end }
  if $gettok(%pmouth,%cpmi,32) isin $1- { msg $nick 5-=12PottyMouth5=-2 You are being ignored! | ignore -pu60 $nick 3 | .timer 1 1 close -m $nick | echo -a 5-=12PottyMouth5=-2 $nick is being ignored for saying ( $+ $1- $+ ) | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 $nick is being ignored ( $+ $1- $+ ) } | .timer 1 60  echo -a 5-=12PottyMouth5=-2 $nick is no longer being ignored | if (%pcs = off) { goto next } | if (%pcs = on) { goto next2 } }
  inc %cpmi
  goto loop 
  :next
  set %pmop $chan(0)
  :loop2
  if (%pmop == 0) { goto end }
  if ($nick ison $chan(%pmop)) { ban $chan(%pmop) $nick 3 | kick $chan(%pmop) $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 (Kick - %tpm $+ ) | msg $nick 5-=12PottyMouth5=-2 You have been kick banned from $chan(%pmop) for swearing at me in private | if (%opnr = on) { onotice $chan(%pmop) 8,1<24K>4PervScan2 $nick was kick/banned for swearing at me in private. (Auto Op Notice) } | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 Query Window kick: $nick on $chan(%pmop) } | inc %tpm }
  dec %pmop
  goto loop2
  :next2
  set %qcchan $comchan($nick,0)
  :outsideloop
  if (%qcchan = 0) { return }
  set %pcq.count 1
  :insideloop
  if ($comchan($nick,%qcchan) = $gettok(%pnac,%pcq.count,32)) { ban $comchan($nick,%qcchan) $nick 3 | kick $comchan($nick,%qcchan) $nick 8,1<24K>4PervScan5-=12PottyMouth5=-2 (Kick - %tpm $+ ) | msg $nick 5-=12PottyMouth5=-2 You have been kick banned from $comchan($nick,%qcchan) for swearing at me in private | if (%opnr = on) { onotice $comchan($nick,%qcchan) 8,1<24K>4PervScan2 $nick was kick/banned for swearing at me in private. (Auto Op Notice) } | if (@PervScan_Violations != $null) { echo @PervScan_Violations 5-=12PottyMouth5=-2 Query Window kick: $nick on $comchan($nick,%qcchan) } | inc %tpm }
  inc %pcq.count
  if ($gettok(%pnac,%pcq.count,32) = $null) { dec %qcchan | goto outsideloop }
  goto insideloop
  :end
}
#PottyQuery end
alias pscanload {
  set %pscc on
  set %psurc on
  set %pswarn on
  if (%pschan = $null) { set %pschan fuck shit lesbian gay sex whore jackoff fag slut rape }
  if (%pervscan = $null) { set %pervscan shit bitch whore penis cunt fuck slut bastard nigger pussy damnit dammit phuck phuk vagina }
  set %pn off
  set %pnw on
  set %qn on
  set %iv on
  set %rv off
  set %js on
  set %pcs off
  if (%pernivk = $null) { set %pervnick shit bitch whore penis cunt fuck slut }
  set %pwarning Please change your nick, or you will be kick/banned from this channel8,1<24K>4PervScan
  set %qnick dick ass
  if (%pmouth = $null) { set %pmouth cunt fuck shit asshole bitch damnit slut anal bastard whore penis nigger niggaz }
  set %pmth on
  set %nwn on
  set %blength 60
  set %prkick on
  set %pndeact on
  set %pnwdeact on
  set %opnr on
  if (%tpm = $null) { set %tpm 1 }
  if (%tpn = $null) { set %tpn 1 }
  if (%tpc = $null) { set %tpc 1 }
  if (%trn = $null) { set %trn 1 }
  if (%tid = $null) { set %tid 1 }
}
alias pwelcome {
  if ($exists(tbar2.bmp) = $false) {
    window -hp @pscanload 1 1 400 43
    drawrect -f @pscanload 2 1 0 0 400 43
    drawrect -f @pscanload 10 1 2 1 389 13
    drawtext  @pscanload 15 Arial 14 5 1 <<24Kara`t PervScan>>
    drawtext  @pscanload 15 Arial 14 256 1 by kara`
    drawsave @pscanload $mircdirtbar2.bmp
    window -c @pscanload
  }
  echo -s 8,1<<24Kara`t PervScan>>12 Loaded.
  echo -s 8,1<<24Kara`t PervScan>>5 Please read the readme.txt file for instructions on how to use 8,1<24K>4PervScan. To configure the script, select the "PervScan" popup from either the channel, or status windows.
}