Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] Item Cooldown for Multiple Items #13

Closed
EarthAgar opened this issue Jun 7, 2021 · 1 comment
Closed

[SUGGESTION] Item Cooldown for Multiple Items #13

EarthAgar opened this issue Jun 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@EarthAgar
Copy link

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
@EarthAgar EarthAgar added the enhancement New feature or request label Jun 7, 2021
@Ankoki
Copy link
Owner

Ankoki commented Jun 7, 2021

Will work on adding this!

@Ankoki Ankoki closed this as completed in a607e78 Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants