Ankoki / SkJade

A Skript Addon with miscellaneous syntax to make skripting easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[SUGGESTION] Item Cooldown for Multiple Items

EarthAgar opened this issue · comments

Describe what you want added
Add support to add cooldowns to multiple items at once. The would make things easier and help us avoid loops.

Proposed Syntax
set the cooldown of {_items::*} for player to 1 second
set the cooldown of all pickaxes for player to 3 second
set the cooldown of all wool for player to 15 second

Skript?
If you have created this in skript as a replica, feel free to drop your script here to make my job easier!

on place:
	loop all items in player's inventory where [input is a block]:
		set the cooldown of loop-item for player to 1 second
commented

Will work on adding this!