Date: 2015/07/02 01:57:50 UTC-07:00
Type: Denizen Script
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]>]>