Timespan Formatter

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

tomcool

New Member
Feb 25, 2018
1
0
0
23
Allows you to convert timespans to the preferred format.

Converts timespans like 2 days 6 hours 30 minutes 15 seconds into this clean format
View attachment 3783

Usage:

set {_time} to 2 days 6 hours 30 minutes 15 seconds
send "&c%time format from {_time}%"
 
The code gives two errors, the first one says that the word "expression:" does not exist and the second place indicates that there is no %time format from {_time}%