All pastes #296390 Raw Edit

Something

public text v1 · immutable
#296390 ·published 2006-12-30 04:05 UTC
rendered paste body
on *:JOIN:#volume: { notice $nick %greet1 | notice $nick %greet2 | notice $nick %greet3 | notice $nick %greet4 | notice $nick %greet5 | notice $nick %greet6 }
on *:TEXT:.set*:#volume: {
  if ($nick isop #volume) {
    if ($2 == roster) {
      set %roster $3- | notice $nick Set $2 to $3-
    }
    if ($2 == practices) {
      set %practices $3- | notice $nick Set $2 to $3-
    }
    if ($2 == leagues) {
      set %current $3- | notice $nick Set $2 to $3-
    }
    if ($2 == record) {
      set %record $3- | notice $nick Set $2 to $3-
    }
    if ($2 == sponsors) {
      set %sponsors $3- | notice $nick Set $2 to $3-
    }
    if ($2 == news) {
      set %news $3- | notice $nick Set $2 to $3-
    }
    if ($2 == commands) {
      set %commands $3- | notice $nick Set $2 to $3-
    }
    if ($2 == servers) {
      set %servers $3- | notice $nick Set $2 to $3-
    }
    if ($2 == matches) {
      set %matches $3- | notice $nick Set $2 to $3-
    }
    if ($2 == website) {
      set %website $3- | notice $nick Set $2 to $3-
    }
    if ($2 == hltv) {
      set %hltv $3- | notice $nick Set $2 to $3-
    }
    if ($2 == greet1)  {
      set %greet1 $3-  | notice $nick Set $2 to $3-
    }    
    if ($2 == greet2)  {
      set %greet2 $3-  | notice $nick Set $2 to $3-
    }
    if ($2 == greet3)  {
      set %greet3 $3-  | notice $nick Set $2 to $3-
    }    
    if ($2 == greet4)  {
      set %greet4 $3-  | notice $nick Set $2 to $3-
    }
    if ($2 == greet5)  {
      set %greet5 $3-  | notice $nick Set $2 to $3-
    }
    if ($2 == greet6)  {
      set %greet6 $3-  | notice $nick Set $2 to $3-
    }
  }
}    else {
    notice $nick NO Access to this command 

  }
}
on *:TEXT:*:#volume: { 
  if ($1 == .roster) {
    notice $nick %roster  
  }
  if ($1 == .practices) {
    notice $nick %practices
  }
  if ($1 == .leagues) {
    notice $nick %current 
  }
  if ($1 == .record) {
    notice $nick %record
  }
  if ($1 == .sponsors) {
    notice $nick %sponsors
  }
  if ($1 == .news) {
    notice $nick %news  
  }
  if ($1 == .commands) {
    notice $nick %commands 
  }
  if ($1 == .servers) {
    notice $nick %servers
  }
  if ($1 == .matches) {
    notice $nick %matches 
  }
  if ($1 == .website) {
    notice $nick %website 
  if ($1 == .hltv) {
    notice $nick %hltv
  }
}