Paste #40227: julius assignment script

Date: 2017/02/23 19:34:50 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


julius:
  type: assignment
  actions:
    on assignment:
    - trigger name:click state:true
    on click:
  interact scripts:
  - 1 julius interact

julius interact:
  type: interact
  steps:
      1:
          click trigger:
              script:
              - chat "Hail, <player.name>! I'm Julius. Would you like to know about the <DARK_RED>Aerial Arena<GREEN>?"
          chat trigger:
              1:
                  trigger: /yes/
                  script:
                  - chat "<WHITE>The <DARK_RED>Aerial Arena<WHITE> is the place to go for aerial combat!"
                  - wait 1
                  - chat "<WHITE>If you have your <AQUA>Elytra<WHITE> and <AQUA>rockets<WHITE> ready, feel free to come and have a high flying dogfight with up to ten other <LIGHT_PURPLE>players<WHITE>."
                  - wait 1
                  - chat "<WHITE>But beware, <player.name>. The <DARK_RED>Aerial Arena<WHITE> has it's own traps!"
                  - wait 1
                  - chat "<WHITE>And the teleport back home is at the top! So, if you're unsure about your flying, I don't recommend it."
                  - wait 1
                  - chat "But you wouldn't be here if you couldn't fly, would you, <player.name>? So, go ahead and push the button!"
                  - zap 2
              2:
                  trigger /no/
                  script:
                  - chat "Some other time, then, <player.name>!"
                  - zap 2
      2:
          click trigger:
              script:
              - chat "Oh dear! That tickles!"
              - zap 1