Paste #4000: Players

Date: 2014/05/03 02:16:22 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
13
14
15
16


players:
    type: world
    events: 
        on players command:
        - inventory open d:in@location[holder=l@376.0,76.0,239.0,keangdom]
        - inventory clear d:in@location[holder=l@376.0,76.0,239.0,keangdom]
        - foreach <player.list.online> {
          - inventory add d:in@location[holder=l@376.0,76.0,239.0,keangdom] o:i@playerskull
          }
        - determine FULFILLED
playerskull:
    type: item
    material: human_skull
    display name: <p@%value%.name>
    lore:
    - "health: <p@%value%.health>"