All pastes #490022 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-15 20:18 UTC
rendered paste body
<!-- Banscript -->

on $*:text:/^[!.](Ban)/Si:#: {
  if ($nick isop $chan) || ($nick ishop $chan) || ($address == Mad@Madoperator.users.swiftirc.net) || ($address == ~Romano@Romano.users.swiftirc.net) {
    if ($address($2,2) iswm $address(madoperator,2)) { notice $nick 10I will 4not ban my Owner | halt }
    mode $chan +b $address($2,2)
  }
  else {
  notice $nick 10You do not have the neccessary rights to do this! }

}


on $*:text:/^[!.](Unban|Unb)/Si:#: {
  if ($nick isop $chan) || ($nick ishop $chan) || ($address == Mad@Madoperator.users.swiftirc.net) || ($Address == ~Romano@Romano.users.swiftirc.net) {
  mode $chan -b $address($2,2) }
}

<!-- opscript -->
on $*:text:/^[!.](op)/Si:#: {
  if ($nick isop $chan) || ($address == Mad@Madoperator.users.swiftirc.net) || ($address == ~Romano@Romano.users.swiftirc.net) {
  mode $chan +o $iif(!$2,$nick,$2-) }
  elseif ($nick ishop $chan) || ($nick isvoice $chan) || ($nick isreg $chan) {
  /notice $nick 10You do not have the necsessary rights to do this! }
}

on $*:text:/^[!.](deop|deo)/Si:#: {
  if ($nick isop $chan) || ($address == Mad@Madoperator.users.swiftirc.net) || ($address == ~Romano@Romano.users.swiftirc.net) {
  mode $chan -o $iif(!$2,$nick,$2-) }
  elseif ($nick ishop $chan) || ($nick isvoice $chan) || ($nick isreg $chan) {
  /notice $nick 10You do not have the necsessary rights to do this! }
}