All pastes #422360 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-03 12:34 UTC
rendered paste body
on *:TEXT:!mute*:#:{ 
  if ($2 == $me) {
    /msg $chan LOL @ $nick !! I am not going to mute myself.. GF GF
    halt
  }
  else {
  if ($nick isop $chan) || ($nick ishop $chan) || ($3 == $null) {
    ban -u60 $chan $+(~q:,$address($2,2))
  }
  elseif ($nick isop $chan) || ($nick ishop $chan) || ($3 != $null) { 
      ban -u $+ $calc($3 * 60) $chan $+(~q:,$address($2,2))
  }
  elseif ($nick isop $chan) || ($nick ishop $chan) || ($3 != $null) { 
        mode -v $2
        ban -u $+ $calc($3 * 60) $chan $+(~q:,$address($2,2))
      notice $2 You have been muted for $3 minutes Reason: $4  }
      msg $chan 04 $2 01Has been muted for04 $3 01minutes. 
    msg $chan 01 Reason:04 $4-  }
    writeini muted.ini muted $address($2,2) mutes
    timer $+ $nick 1 $3 remini muted.ini muted $address($2,2)
  }
}