Paste #10291: Edit of P#10288 - Untitled Paste

Date: 2014/10/04 12:35:53 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


Legacyscript:
    type: world
    debug: false
    events:
      on legacy command:
      - define duration d@<player.flag[actualtime].mul[60]>
      - ^define time <gold><def[duration].formatted>
      - ^define time <el@%time%.replace[d].with[<gold><&sp>Day(s),]>
      - ^define time <el@%time%.replace[h].with[<gold><&sp>Hour(s),]>
      - ^define time <el@%time%.replace[m].with[<gold><&sp>Minutes(s)]>
      - ^narrate "<green>Time played<&co> <gold>%time%"
      - determine FULFILLED