Like currently, you can only do
command /coinflip:
cooldown: 2 seconds
cooldown message: &cYou can only use this command every 2 seconds
but it would be great if something like
command /coinflip [<string>] [<string>]:
aliases: cf
trigger:
if arg-1 is not set:
openCF(player)
if arg-1 is set:
if arg-1 is "update":
cooldown: 2 seconds
cooldown message: &cYou can only use it in %cooldown duration% seconds later
openCF(player)
was added
that could be cool. Maybe keep the current settings where they鈥檙e at, and instead add an expression to set, add to, etc with the command cooldown.
set command cooldown to %timespan%
add %timespan% to the command cooldown
Do the command cooldown expressions not satisfy this for you? You should be able to add/set/delete the remaining time, elapsed time, and last usage time of the player's cooldown for that command within the command event. You could try to set the cooldown of the command to the highest value you want and for all cases where it should have no cooldown set remaining cooldown to 0 seconds.
Do the command cooldown expressions not satisfy this for you? You should be able to add/set/delete the remaining time, elapsed time, and last usage time of the player's cooldown for that command within the command event. You could try to set the cooldown of the command to the highest value you want and for all cases where it should have no cooldown
set remaining cooldown to 0 seconds.
Ehm.. Forgot about the cancel cooldown, didn't you?