Paste #10288: Untitled Paste

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


Legacyscript:
    type: world
    debug: false
    events:
      on legacy command:
      - ^define time <gold><d@<math.as_int:<player.flag[actualtime]>*60>.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