Paste #17268: Edit of P#17267 - Untitled Paste

Date: 2015/07/02 01:57:50 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


CreateLock:
  type: command
  name: createlock
  usage: /createlock
  description: Create a custom lock for your door.
  script:
  - define y <context.location.block.y.as_int>
  - define x <context.location.block.x.as_int>
  - define z <context.location.block.z.as_int>
  - flag global locked_Doors.incrementer:++
  - flag global locked_Doors.DeepOceans.<def[y]>.<def[x]>.<def[z]>:<global.flag[locked_doors.incrementer]> 
  - give tripwire_hook[lore=<global.flag[locked_Doors.DeepOceans.<def[y]>.<def[x]>.<def[z]>]>