PowerPuffGold.2000 — File Browser
PowerPuffGold.2000v2.0 / PowerPuffGold.2000v2.0 / PowerPuffGold2000 / remotes / kicks3.mrc
kicks3.mrc — 13.61 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!!..............
;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
on @1:TEXT:*:#:{
if ($nick !isop $chan) {
if (%bantime == 0) { unset %ban } | elseif (%bantime == 1) { set %ban ban $chan $nick 2 } | elseif (%bantime != 1) && (%bantime != 0) && (%bantime != $null) { set %ban ban -u $+ %bantime $chan $nick 2 }
if (%abcm [ $+ [ $chan ] ] == ON) {
set %chan` $chan
set %nick` $nick
set %reason Excessive use of the same character. -=: Manual Kick :=- $qos
set %do1 /.notice $nick Please do not use excessive same characters.
set %do2 /kick $chan $nick Excessive use of the same character. -=: Manual Kick :=- $qos
set %do3 /kickban
if ($count($parms,a) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),a) A's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,b) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),b) B's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,c) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),c) C's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,d) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),d) D's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,e) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),e) E's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,f) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),f) F's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,g) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),g) G's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,h) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),h) H's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,i) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),i) I's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,j) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),j) J's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,k) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),k) K's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,l) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),l) L's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,m) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),m) M's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,n) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),n) N's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,o) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),o) O's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,p) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),p) P's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,q) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),q) Q's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,r) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),r) R's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,s) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),s) S's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,t) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),t) T's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,u) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),u) U's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,v) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),v) V's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,w) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),w) W's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,x) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),x) X's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,y) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),y) Y's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,z) > %abcmax) { echo -a $boldl($nick) had $count($strip($parms),z) Z's in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
if ($count($parms,!) > 5) { echo -a $boldl($nick) had $count($strip($parms),!) !'s in their last message. | echo -a F5: Warn - F6: Kick - F7:Kick/Ban | halt }
if ($count($parms,?) > 5) { echo -a $boldl($nick) had $count($strip($parms),?) ?'s in their last message. | echo -a F5: Warn - F6: Kick - F7:Kick/Ban | halt }
}
if (%lenfluda [ $+ [ $chan ] ] == ON) {
if ($len($strip($parms)) > %lenmax) {
if (%warn == ON) && (%lenwarn [ $+ [ $nick ] ] == $null) { set -u30 %lenwarn [ $+ [ $nick ] ] YES | .notice $nick Please use less than %lenmax characters per message. $qos | echo -a Warned $nick for 'lengh flooding' in $boldr($chan) $+ . | halt }
elseif (%warn == ON) && (%lenwarn [ $+ [ $nick ] ] == YES) { %ban | kick $chan $nick Excessive characters. (Max: %lenmax You: $len($strip($parms)) $+ ) | unset %lenwarn [ $+ [ $nick ] ] | halt }
%ban | kick $chan $nick Excessive characters (Max: %lenmax You: $len($strip($parms)) $+ ) $qos | halt }
}
if (%lenfludm [ $+ [ $chan ] ] == ON) {
set %reason Excessive characters. -=: Manual Kick :=- $qos
set %nick` $nick
set %chan` $chan
set %do1 /.notice %nick` This is a warning for excessive characters. $qos
set %do2 kick %chan` %nick` Excessive characters. -=: Manual Kick :=- $qos
set %do3 /kickban
if ($len($strip($parms)) > $calc(%lenmax - 1)) { echo -a $boldl($nick) had $len($strip($parms)) characters in their last message. | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
}
if (%repeata [ $+ [ $chan ] ] == ON) {
if (%lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $null) { set -u10 %lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] $1- | halt }
elseif (%lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $parms) && (%lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $null) { set -u10 %lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] $1- | halt }
elseif (%lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $parms) {
if (%warn == ON) && (%repeatwarn [ $+ [ $nick ] ] == $null) { set -u30 %repeatwarn [ $+ [ $nick ] ] YES | .notice $nick Please do not repeat yourself in $boldr($chan) $+ . $qos | echo -a Warned $nick for repeating in $boldr($chan) $+ . | unset %lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] | unset %lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] | halt }
elseif (%warn == ON) && (%repeatwarn [ $+ [ $nick ] ] == YES) { %ban | kick $chan $nick We heard you the first time. $qos | halt }
%ban | kick $chan $nick We heard you the first time. $qos | halt }
}
if (%repeatm [ $+ [ $chan ] ] == ON) {
set %reason We heard you the first time. -=: Manual Kick :=- $qos
set %chan` $chan
set %nick` $nick
set %do1 /.notice %nick` Please do not repeat yourself in %chan` $+ . $qos
set %do2 kick %chan` %nick` %reason
set %do3 kickban
if (%lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $null) { set -u10 %lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] $1- | halt }
elseif (%lastline [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $parms) && (%lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $null) { set -u10 %lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] $1- | halt }
elseif (%lastline2 [ $+ [ $chan [ $+ [ . [ $+ [ $nick ] ] ] ] ] ] == $parms) { echo -a $boldl($nick) just said: $1- 3 times in the last 10secs | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
}
if (%capsa [ $+ [ $chan ] ] == ON) {
set %caps 0 | set %caps2 0
:caps
inc %caps
if ($asc($mid(%caps,1,$parms)) isnum 65-90) { inc %caps2 1 | goto caps }
if ($asc($mid(%caps,1,$pamrs)) == $null) {
if (%caps2 >= %maxcaps) {
if (%warn == ON) && (%capswarn. [ $+ [ $nick ] ] != YES) { .notice $nick Please don't use excessive capital letters, its used for SHOUTING. $qos | echo -a Warned $nick for excessive caps in $boldr($chan) $+ . | set -u300 %capswarn. [ $+ [ $nick ] ] YES | halt }
elseif (%warn == ON) && (%capswarn. [ $+ [ $nick ] ] == YES) { unset %capswarn. [ $+ [ $nick ] ] | %ban | kick $chan $nick Excessive Caps. $qos | halt }
unset %capswarn. [ $+ [ $nick ] ] | %ban | kick $chan $nick Excessive Caps. $qos | halt
}
halt
}
goto caps
}
if (%capsm [ $+ [ $chan ] ] == ON) {
set %caps 0
set %caps2 0
set %reason Excessive Caps. -=: Manual Kick :=- $qos
set %chan` $chan
set %nick` $nick
set %do1 .notice $nick Please don't use excessive capital letters, its used for SHOUTING. $qos
set %do2 kick $chan $nick %reason
set %do3 kickban
:caps
inc %caps 1
if ($asc($mid(%caps,1,$parms)) isnum 65-90) { inc %caps2 1 | goto caps }
if ($asc($mid(%caps,1,$parms)) == $null) {
if (%caps2 >= %maxcaps) { echo -a $nick had %caps2 capital letters in their last message: | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
halt
}
goto caps
}
if (%flooda [ $+ [ $chan ] ] == ON) {
if (%textflood [ $+ [ $wildsite ] ] == $null) { set -u [ $+ [ %floods ] ] %textflood [ $+ [ $wildsite ] ] 1 }
if (%textflood [ $+ [ $wildsite ] ] == %floodl) {
if (%warn == ON) && (%floodwarn [ $+ [ $nick ] ] == $null) { set -u300 %floodwarn [ $+ [ $nick ] ] YES | .notice $nick Please do not flood in $chan (Yes, that means no ascii drawings or large popups) | echo -a Warned $nick for flooding in $boldr($chan) $+ . | unset %textflood [ $+ [ $wildsite ] ] | halt }
elseif (%warn == ON) && (%floodwarn [ $+ [ $nick ] ] == YES) { %ban | kick $chan $nick Flood: %floodl lines, in %floods secs. $qos | halt }
elseif (%warn != ON) { %ban | kick $chan $nick Flood: %floodl lines, in %floods secs. $qos }
}
else { inc %textflood [ $+ [ $wildsite ] ] }
}
if (%floodm [ $+ [ $chan ] ] == ON) {
set %reason Flood: %floodl lines, in %floods secs. -=: Manual Kick :=- $qos
set %chan` $chan
set %nick` $nick
set %do1 .notice $nick Please don't flood, that means don't use big ascii drawings... or just flood. $qos
set %do2 kick $chan $nick %reason
set %do3 kickban
if (%textflood [ $+ [ $wildsite ] ] == $null) { set -u [ $+ [ %floods ] ] %textflood [ $+ [ $wildsite ] ] 1 }
if (%textflood [ $+ [ $wildsite ] ] == %floodl) { echo -a $boldl($nick) just flooded $boldr($chan) | echo -a F5: Warn - F6: Kick - F7: Kick/Ban | halt }
else { inc %textflood [ $+ [ $wildsite ] ] }
}
}
}
on 1:PART:#:if $nick == %clone1 || $nick == %clone2 { unset %clone* }
on @1:JOIN:#:{
if (%bclone [ $+ [ $chan ] ] != ON) { goto end }
if $ial($address($nick,2),0) == 1 { goto end }
set %nick 0 | set %a 0
:next
inc %nick
if $nopnick($chan,%nick) == $null { goto done }
if ($address($nick,2) == $address($nopnick($chan,%nick),2)) && ($nick != $nopnick($chan,%nick)) { goto clone }
else goto next
:clone
inc %a
set %clone $+ [ %a ] $nopnick($chan,%nick)
goto next
:clone1
set %clone2 $nick
echo -a 02 $+ $nick 1is a clone of2 %clone1 1(2 $+ $address($nick,2) $+ 1) in2 $chan 1- Removing...
ckick
goto end
:clone2
kick $chan $nick No clones! $qos | ban -u60 $chan $nick 2
kick $chan %clone1 No clones! $qos
kick $chan %clone2 No clones! $qos
echo -a Multiple clones detected on2 $chan
echo 12 -a 1(2 $+ $address($nick,2) $+ 1) 1clones flushed from2 $chan
unset %clone*
goto end
:done
if %a == 0 goto end
if %a == 1 goto clone1
goto clone2
:end
unset %nick
}