Paste #2186: Untitled Paste

Date: 2014/02/21 17:57:38 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
14
15
16


"AntiKite":
    type: world
    debug: true
    events:
      on player damages npc:
      - ^flag <player> DamagedNPCRecently duration:10s

"AntiKiteLocation":
    type: world
    debug: true
    events:
      on player walks over AntiKiteHaven:
      - ^if <player.has_flag[DamagedNPCRecently]> {
        - ^narrate "<&c>You have engaged the king and cannot leave this building!"
        - ^teleport <player> l@-2020,210,645,world
        }