Paste #12253: Untitled Paste

Date: 2014/12/23 14:01:11 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


timechangeforallworlds:
  type: world 
  events: 
    on change command:
    - define arg1 <c.args.get[2]>
    - if arg1 != '00:00' || '01:00' {
      - narrate 'Invalid arg'
      }
      else {
      - execute as_server 'change raiding time %arg1%'
      }