All pastes #473528 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-06 09:31 UTC
rendered paste body
on *:TEXT:!turn*:*: {
  if ($address($nick,2) == $address($me,2)) {
    if ($3 == on) {
      if ($2 == all) {
        load -rs pc.ini
        load -rs price.ini
        load -rs stats.ini
        load -rs whois.ini
        notice $nick 4All 10of my commands have 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 == 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 pc.ini
        unload -rs price.ini
        unload -rs stats.ini
        unload -rs whois.ini
        notice $nick 4All 10of my commands have 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 == 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. 
      }
    }
  }
  else {
    notice $nick 6NICE TRY! 10Only 4Tim_is_Crunk 10can use this command. 
  }
}