All pastes #247165 Raw Edit

Stuff

public text v1 · immutable
#247165 ·published 2006-11-13 02:48 UTC
rendered paste body
on *:text:.*:#:{
  if ($nick isvoice $chan) { notice $nick this command is for ops only | halt }
  if ($nick isreg $chan) { notice $nick this command is for ops only | halt }
  if ($1 == .k) { .kick $chan $$2 $3- %kcount }
  elseif ($1 == .kb) {
    .ban -ku1800 $chan $$2 %banmask [ $+ [ $2 ] ] $3- %kcount
    set %banmask [ $+ [ $2 ] ] $address($2,6)
  }
  elseif ($1 == .unban) {
    .mode $chan -b %banmask [ $+ [ $2 ] ] 
    unset %banmask [ $+ [ $2 ] ] $address($2,6)
  }
  elseif ($1 == .gag) { .mode $chan +b ~q: $+ $address($$2,2) }
  elseif ($1 == .degag) { .mode $chan -b ~q: $+ $address($$2,2) }
  elseif ($1 == .m) { mode $chan m }
elseif ($1 == .-m){ mode $chan -m }
elseif ($1 == .v) { mode $chan v $IIF($2,$2-,$nick) }