Date: 2018/01/19 16:32:23 UTC-08:00
Type: Denizen Script
on player right clicks block:
- if <context.location.simple> == '-879,70,-528,world' {
- if <server.has_flag[<wizardopen>]> {
- narrate "open"
- flag server wizardopen:!
}
else {
- schematic load name:wizard_door
- schematic paste name:wizard_door l@-886,69,-530,world noair
- narrate "close"
- flag server wizardopen
}
}