Paste #46408: Edit of P#46407 - Untitled Paste

Date: 2018/01/19 16:32:23 UTC-08: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


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
          }
      }