- 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


TitleUntitled Paste
TypeDenizen Script
Date2016/01/28 21:09:19 UTC-08:00
ByPanteLegacy
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
1300
Titles_Player_Remove:
  type: task
  definitions: category|titleID|targetedPlayer
  script: 
  - define path Players.<def[targetedPlayer].uuid>.Categories.titles.<def[category]>.<def[titleID]>
  - if <yaml[players].contains[Path].not> {
    - yaml id:players set Players.<def[targetedPlayer]>.Categories.titles.<def[category]>:<-:<def[titleID]>
    - yaml savefile:/dTitles/players.yml id:players
    }
    else {
    - determine cancelled
    }



RawRaw



Pastes made: 59170