everclear — File Browser
everclearv1.1 / everclearv1.1 / Scripts / ec11a1 / system / aliases1.mrc
aliases1.mrc — 4.25 KB — Download this file
textfloodpro {
if ((%flood.pro.chan.line == $null) || (%flood.pro.chan.time == $null) || (%flood.pro.chan.byte == $null)) { echo $remove($color2,) -s Please Complete Text Flood Pro Setup! | goto end }
set %temp.ctime $readini flood.ini $1 ctime
if (%temp.ctime == $null) {
writeini flood.ini $1 ctime $ctime
writeini flood.ini $1 chan $2
writeini flood.ini $1 lines 1
writeini flood.ini $1 byte $len($3)
}
set %temp.chan $readini flood.ini $1 chan
set %temp.line $readini flood.ini $1 lines
set %temp.line $calc(%temp.line + 1)
set %temp.byte $readini flood.ini $1 byte
if ($len($3-) > %temp.byte) { writeini flood.ini $1 byte $len($3) | set %temp.byte $len($3) }
set %temp.calc $calc($ctime - %temp.ctime)
if (%temp.calc > %flood.pro.chan.time) { remini flood.ini $1 | goto end }
if ((%temp.chan == $2) && (%temp.line >= %flood.pro.chan.line) && (%temp.calc <= %flood.pro.chan.time) && (%temp.byte >= %flood.pro.chan.byte)) {
remini flood.ini $1
if ($me isop $2) { kick $2 $1 flood detected ( $+ $calc(%temp.line + 1) lines in under %flood.pro.chan.time secs.) }
else { .ignore -u500 $address($1,2) | col2echo $front FLOOD: $1 detected flooding on $2 $+ , 10min ignore. }
}
writeini flood.ini $1 ctime $ctime
writeini flood.ini $1 chan $2
writeini flood.ini $1 lines %temp.line
:end | unset %temp.byte %temp.line %temp.chan %temp.ctime %temp.calc
}
o op $1
op mode # +o $1
v voice $1
voice mode # +v $1
d deop $1
deop mode # -o $1
dv devoice $1
devoice mode # -v $1
s sound # $1 < $1 >
addon {
if ($exists($1) == $false) { col2echo $front ERROR: $1 does not exist. | halt }
.load -rs $1
}
chanmsg {
set %x 0 | :n1 | inc %x
set %temp.debug.line $read -nl $+ %x debug.log
if (%temp.debug.line = $null) { goto end }
if (($gettok(%temp.debug.line,2,32) == PRIVMSG) && ($left($gettok(%temp.debug.line,3,32),1) == $chr(35))) {
if ($gettok(%temp.debug.line,4,32) == :ACTION) { chgaction $gettok($reml1($gettok(%temp.debug.line,1,32)),1,33) $gettok(%temp.debug.line,3,32) $reml1($gettok(%temp.debug.line,4-,32)) | goto n1 }
echo 0 $gettok(%temp.debug.line,3,32) $color1 $+ ( $+ $color2 $+ $+ $gettok($reml1($gettok(%temp.debug.line,1,32)),1,33) $+ $color1 $+ ) $reml1($gettok(%temp.debug.line,4-,32))
if (%flood.pro.chan == on) { textfloodpro $gettok(%temp.debug.line,1,32) $gettok(%temp.debug.line,3,32) $gettok(%temp.debug.line,4-,32) }
goto n1
}
goto n1 | :end | write -c debug.log
}
chgaction {
echo 13 $2 í $1 $remove($4-,$chr(1))
if ((%repeat-kick == on) && ($1 !isop $2) && ($me isop $2)) {
set %temp $readini flood.ini repeat $1 | if (%temp == $3-) { kick $2 $1 Repeat kicker $logo | remini flood.ini repeat $1 | goto next }
else writeini flood.ini repeat $1 $3-
}
:next
}
everclear4 {
clear status window
echo 10 -s $$$$$$$$$$$$$
echo 10 -s $$$$ $$$$$$
echo 10 -s $$$$
echo 10 -s $$$$$$$$$$
echo 10 -s $$$$$$$$$$ $$$ $$$ $$$$$$$ $$$ $$$$
echo 10 -s $$$$ $$$ $$$ $$ $$$ $$$$
echo 10 -s $$$$ $$$$$$ $$$$$$$ $$$
echo 10 -s $$$$ $$$$$$ $$$$ $$ $$$
echo 10 -s $$$$$$$$$$$$$ $$ $$$$$$$ $$$
echo -s
echo 7 -s $$$$$$$$$$$$$$ $$$$
echo 7 -s $$$$ $$$$$$ $$$
echo 7 -s $$$$ $$$
echo 7 -s $$$$ $$$
echo 7 -s $$$$ $$$ $$$$$$$ $$$$$$$ $$$ $$$$
echo 7 -s $$$$ $$$ $$ $$$ $$$ $$$$
echo 7 -s $$$$ $$$ $$$$$$$ $$$$$$$ $$$
echo 7 -s $$$$ $$$$$$ $$$ $$ $$ $$$ $$$
echo 7 -s $$$$$$$$$$$$$$ $$$ $$$$$$$ $$$$$$$ $$$
}
portscan eecho $front Scanning for ports on : $server | stats l
sv cs %ver
stats.me {
col1echo $front ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͸
col1echo $front ³ $color2 $+ nickname: $align(30,$me) ³
col1echo $front ³ $color2 $+ serverÿ : $align(30,$server) ³
col1echo $front ³ $color2 $+ port ÿ ÿ: $align(30,$port) ³
col1echo $front ³ $color2 $+ address : $align(30,$gettok($address($me,2),2,64)) ³
col1echo $front ÔÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ;
}