A simple script that removes all G:Lines, GZ:Lines, K:Lines, and Z:Lines.
(Later added a similar function for spam-filters)
;Remove all bans script by SSIhekill
alias removebans {
set %grm 2
stats G
stats K
}
raw 223:*: {
if (%grm > 0) {
if ($2 === G) gline - $+ $3
elseif ($2 === Z) gzline - $+ $3
elseif ($2 === K) kline - $+ $3
elseif ($2 === z) zline - $+ $3
}
}
raw 229:*: {
if (%grm > 0) {
if ($2 === F) spamfilter del $3 $4 - - $10-
}
}
raw 219:*: {
if (%grm > 0) {
set %grm $dec(%grm)
}
}
alias removespamfilters {
set %grm 1
stats f
}