- 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


TitleDiff note for paste #8701
TypeDiff
Date2014/08/22 06:07:23 UTC-07:00
ByKantorh
Other
Paste
 'GuardKillsPlayerEvent':
   type: world
   debug: true
   events:
-    on npc kills player:
-    - if <npc[<context.damager>].name.contains[Guard]> {
+    on player dies:
+    - if <context.damager.name> == 'Guard' {
       - determine 3
       - run jailintro as:<context.entity> instantly
       }
 
 



RawRaw



Pastes made: 62776