- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleEdit of P#16492 - Drop Scripts
TypeDenizen Script
Date2015/06/15 18:29:27 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2100
CustomDropScript: 
  type: world 
  speed: 0 
  debug: false

  events: 
    on player breaks block: 
    # Displays block mined correctly
    - if <player.is_op>
      {
      - narrate "<c.location.material.name>"
      } 
    - run s@CustomDropScript p:ProcessEvent def:<c.location>

  ProcessEvent: 
    # Displays air no matter the block
    - if <player.is_op>
      {
      - narrate "<def[1].material.name>"
      }



RawRaw



Pastes made: 76068