Paste #16653: Untitled Paste

Date: 2015/06/20 01:16:46 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


ResetDeaths:
  type: command
  name: resetdeaths
  script:
  - if <player.has_flag[hasResetDeaths]> {
    - narrate "You have already reset your death count."
    - queue clear
    }
  - flag player hasResetDeaths
  - execute as_op "ex flag <player.name> globaldeathcount:0" silent
  - narrate "You now have <player.flag[globaldeathcount].as_int> death(s)."