- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleScript
TypeDenizen Script
Date2018/11/12 12:31:27 UTC-08:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2100
Guilde_eventSuite2:
    type: world
    debug: false
    events:
      on ARMOR_STAND damaged:
        - inject guildeSysteme_ProtectionHandler_Task_ForArmorStand instantly
guildeSysteme_ProtectionHandler_Task_ForArmorStand:
    type: task
    debug: false
    script:
    - if <context.entity.location.regions.is_empty.not||false> queue clear
    - if <li@Elysea|Centre.contains[<context.entity.location.world.name>].not||false> queue clear
    - if <context.entity.location.cuboids.is_empty||false> queue clear
    - if <context.entity.location.cuboids.get[1].after[cu@].starts_with[ruine]||false> queue clear
    - if <context.entity.location.cuboids.get[1].after[cu@].starts_with[guilde]||false> || <context.entity.location.cuboids.get[1].after[cu@].starts_with[capture]||false> {
      - define guilde 'Guilde_<context.entity.location.cuboids.get[1].split[_].get[4]||false>'
      - if <def[guilde].to_uppercase> != <player.flag[guilde]||false> {
        - determine cancelled
      }
    }



RawRaw



Pastes made: 79783