All pastes #342138 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-02-06 03:26 UTC
rendered paste body
on *:TEXT:*:#RsMarket: {
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) { halt } else {
    if ($chr(35) isin $1-) {
      inc %kickcounter
      ban -ku300 $chan $nick 2 Advertising is NOT tolerated! (Use of "#" symbol) [TempBan 5 Min] 12»4 %kickcounter 12«
      halt
    }
    if ($chr(2) isin $1-) || ($chr(31) isin $1-) || ($chr(3) isin $1-) || ($chr(22) isin $1-) {
      inc %kickcounter
      ban -ku300 $chan $nick 2 No bolds underlines 04colours or reverses allowed [TempBan 5 Min] 12»4 %kickcounter 12«
      halt
    }
    inc $($+(-u,%flood.unset)) $+(%,flood.,$chan,.,text.,$nick)
    if ($($+(%,flood.,$chan,.,text.,$nick),2) >= %flood.lines) {
      inc %kickcounter
      ban $($+(-ku,%flood.bantime)) $chan $nick 2 Please do not flood in #RsMarket (2 Lines in 10 Secs) [Tempban 5 Min] 12»4 %kickcounter 12«
    }
  }
}