Remove server bans

By SSIhekill on Mar 02, 2012

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
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.