All pastes #430514 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-09 01:21 UTC
rendered paste body
on *:TEXT:!turn*:*: {
  if ($nick isop $chan) {
    if ($3 == on) {
      if ($2 == all) {
        load -rs mkick.ini
        load -rs pc.ini
        load -rs price.ini
        load -rs script.ini
        load -rs stats.ini
        load -rs whois.ini
        notice $nick 4All 10of my commands have been turned 4on10. 
      }
      if ($2 == mkick) {
        load -rs mkick.ini
        notice $nick 4Mass Kick 10command has been turned 4on10. 
      }
      if ($2 == pc) {
        load -rs pc.ini
        notice $nick 4Pest-Control 10commands have been turned 4on10. 
      }
      if ($2 == price) {
        load -rs price.ini
        notice $nick 4Price 10command has been turned 4on10. 
      }
      if ($2 == script) {
        load -rs script.ini
        notice $nick 4Script.ini 10has been turned 4on10. 
      }
      if ($2 == stats) {
        load -rs stats.ini
        notice $nick 4Stat Lookup 10command has been turned 4on10. 
      }
      if ($2 == whois) {
        load -rs whois.ini
        notice $nick 4Whois 10command has been turned 4on10. 
      }
    }
    if ($3 == off) {
      if ($2 == all) {
        unload -rs mkick.ini
        unload -rs pc.ini
        unload -rs price.ini
        unload -rs script.ini
        unload -rs stats.ini
        unload -rs whois.ini
        notice $nick 4All 10of my commands have been turned 4off10.
      }
      if ($2 == mkick) {
        unload -rs mkick.ini
        notice $nick 4Mass Kick 10command has been turned 4off10. 
      }
      if ($2 == pc) {
        unload -rs pc.ini
        notice $nick 4Pest-C4ontrol 10commands have been turned 4off10. 
      }
      if ($2 == price) {
        unload -rs price.ini
        notice $nick 4Price 10command has been turned 4off10. 
      }
      if ($2 == script) {
        unload -rs script.ini
        notice $nick 4Script.ini 10has been turned 4off10. 
      }
      if ($2 == stats) {
        unload -rs stats.ini
        notice $nick 4Stat Lookup 10command has been turned 4off10. 
      }
      if ($2 == whois) {
        unload -rs whois.ini
        notice $nick 4Whois 10command has been turned 4off10. 
      }
    }
  }