Paste #19804: Untitled Paste

Date: 2015/08/30 16:49:43 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


TrainingWorld:
  type: world
  events:
    on player breaks block:
    - flag <player> BlocksBroken:++
    - if <player.flag[TrainingOutput]> == on {
      - narrate target:<player> "Hello, <player.name>! You have broken <player.flag[BlocksBroken].as_int> blocks!"
      }
    on player login:
    - if <player.flag[AutoCreative]> == on {
      - adjust <player> gamemode:creative
      }