Script Command Cooldown Information (Expression) — Skript

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

Syntax

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

Description

Only usable in script commands. Represents the cooldown time, the cooldown bypass permission, the remaining cooldown time, the elapsed cooldown time.

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