Timespan Details (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.9.0

Syntax

[the] (tick|second|minute|hour|day|week|month|year)s of %timespans%

Description

Retrieve specific information of a <a href="/#timespan">timespan</a> such as hours/minutes/etc.

Examples

set {_t} to difference between now and {Payouts::players::%uuid of player%::last-date}
send "It has been %days of {_t}% day(s) since last payout."

View source