Paste #16629: Untitled Paste

Date: 2015/06/19 03:21:48 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7


TestTime:
  type: task
  script:
  - define startTime <util.date.time.duration> 
  - wait 10s
  - flag <player> totalTime:<player.flag[totalTime].as_duration.add[<util.date.time.duration.sub<player.flag[startTime]>]>
  - narrate "<player.flag[totalTime].duration.in_hours.formatted>"