- 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


TitleBad or ok?
TypeDenizen Script
Date2015/01/02 05:48:56 UTC-08:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
1900
inventorytesting:
  type: world
  debug: false
  events:
    on inv command:
    - run playerinventory def:p@<c.args.get[1]>

playerinventory:
  type: task
  debug: false
  slots:
  - 'i@stone[display_name=<red><def[1].location.simple>]|i@air|i@oak_leaves'
  - 'i@stone'
  script:
  - ^define size "size=9;"
  - ^define title "title=<def[1].name>;"
  - ^define slots "contents=<s@playerinventory.yaml_keys[slots]>"
  - ^inventory open "d:in@generic[%size%%title%%slots%]"



RawRaw



Pastes made: 65641