rendered paste bodyon *:text:!floodControl *:#: {
if ($nick isop #ChaosBot) {
if (!$2) {
msg $chan 15Please Set Amount of Characters To 15[3 Warn6/3Kick6/3Ban 15]
}
elseif ($2 isnum) {
set %chramount $2
msg $chan 10I Will Now 15[3 Warn6/3Kick6/3Ban 15]10 for character flood of 15[3 %chramount 15]10 characters or more.
}
}
}
on *:load: {
echo 12 -a 10You Have Just Loaded Justin Characters Flood 15[3 Warn6/3Kick6/3Ban 15]
echo -a 14,1(14,1¯15,1¯0,1¯0,1º «×PWNZ0R3D×» º0,1¯15,1¯14,1¯)™
}
on !*:text:*:#: {
var %lenamount $len($1-)
if (%lenamount >= %chramount) {
inc -u800 %longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ]
if (%longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ] = 1) { msg $chan 15[3 $nick 15]10 Do not type so long, the max Characters Allowed 15[3 $calc(%chramount - 1) 15]10 You Typed 15[3 %lenamount 15] }
if (%longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ] = 2) { kick $chan $nick 10You typed 15[3 %lenamount 15]10 character of text The max Characters Allowed 15[3 $calc(%chramount - 1) 15] }
if (%longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ] >= 3) {
Ban -ku600 $chan $nick 10You was been told but yet you do it anyways, 15[3 Ten 15]10 Minute ban
unset %longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ]
}
}
}
}
on !*:action:*:#: {
var %lenamount $len($1-)
if (%lenamount >= %chramount) {
inc -u800 %longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ]
if (%longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ] = 1) { msg $chan 15[3 $nick 15]10 Do not type so long, the max Characters Allowed 10[3 $calc(%chramount - 1) 15]10 You Typed 15[3 %lenamount 15] }
if (%longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ] = 2) { kick $chan 15[3 $nick 15]10 You typed 15[3 %lenamount 15]10 character of text The max Characters Allowed 15[3 $calc(%chramount - 1) 15] }
if (%longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ] >= 3) {
Ban -ku600 $chan $nick 10You was been told but yet you do it anyways, 15[3 Ten 15]10 Minute ban
unset %longtype. [ $+ [ $chan ] ] [ $+ . [ $+ [ $nick ] ] ]
}
}