All pastes #294479 Raw Edit

Gsus

public text v1 · immutable
#294479 ·published 2006-12-28 15:10 UTC
rendered paste body
on *:text:!v *:#:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick = Swiffer) {
    notice $chan voice command for $2 used by $nick
    //mode $chan +v $2
  }
  else { notice $nick Access denied. }
}
on *:text:?v *:#:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick = Swiffer) {
    notice $chan devoice command for $2 used by $nick
    //mode $chan -v $2
  }
  else { notice $nick Access denied. }
}
on *:text:!h *:#:{
  if ($nick isop $chan) || ($nick = Gsus) {
    notice $chan halfop command for $2 used by $nick
    //mode $chan +h $2
  }
  else { notice $nick Access denied. }
}
on *:text:?h *:#:{
  if ($nick isop $chan) || ($nick = Swiffer) {
    notice $chan dehalfop command for $2 used by $nick
    //mode $chan -h $2
  }
  else { notice $nick Access denied. }
}
on *:text:!o *:#:{
  if ($nick isop $chan) || ($nick = Swiffer) {
    notice $chan op command for $2 used by $nick
    //mode $chan +o $2
  }
  else { notice $nick Access denied. }
}
on *:text:?o *:#:{
  if ($nick isop $chan) || ($nick = Swiffer) {
    notice $chan deop command for $2 used by $nick
    //mode $chan -o $2
  }
  else { notice $nick Access denied. }
}
on *:text:!ao *:#:{
  if ($nick isop $chan) || ($nick = Swiffer) {
    notice $chan Protected op command for $2 used by $nick
    //mode $chan +ao $2
  }
  else { notice $nick Access denied. }
}
on *:text:?ao *:#:{
  if ($nick isop $chan) || ($nick = Swiffer) {
    notice $chan Deprotected op command for $2 used by $nick
    //mode $chan -ao $2
  }
  else { notice $nick Access denied. }
}