Cooldown Time/Remaining Time/Elapsed Time/Last Usage/Bypass Permission (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.2-dev33

Syntax

[the] remaining [time] [of [the] (cooldown|wait) [(of|for) [the] [current] command]]

Description

Only usable in command events. Represents the cooldown time, the remaining time, the elapsed time, the last usage date, or the cooldown bypass permission.

Examples

command /home:
	cooldown: 10 seconds
	cooldown message: You last teleported home %elapsed time% ago, you may teleport home again in %remaining time%.
	trigger:
		teleport player to {home::%player%}

View source