Cancel Command Cooldown (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.2-dev34

Syntax

(cancel|ignore) [the] [current] [command] cooldown

Description

Only usable in commands. Makes it so the current command usage isn't counted towards the cooldown.

Examples

command /nick <text>:
	executable by: players
	cooldown: 10 seconds
	trigger:
		if length of arg-1 is more than 16:
			# Makes it so that invalid arguments don't make you wait for the cooldown again
			cancel the cooldown
			send "Your nickname may be at most 16 characters."
			stop
		set the player's display name to arg-1

View source