Date: 2014/02/21 17:57:38 UTC-08:00
Type: Denizen Script
"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
}