Paste #34924: Untitled Paste

Date: 2016/07/18 04:51:59 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


CTHKillCounter:
  type: world
  debug: true
  events:
    on player kills npc:
    - if <player.flag[CTHGameStatus]> == ingame {
      - wait 2t
      - define id <player.flag[CTHMapID]>
      - flag player CTHKillCounter:++
      - define friend '<player.flag[CTHTeam]>'
      - announce "<player.flag[CTHKillCounter].add[<p@%friend%.flag[CTHKillCounter]||0>]> kill counter"
    }