-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Labels
enhancementFeature request, an issue about something that could be improved, or a PR improving something.Feature request, an issue about something that could be improved, or a PR improving something.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements)."Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).variablesRelated to variables and/or storing them.Related to variables and/or storing them.
Description
Suggestion
I think it would be useful to be able to target specific values in a list.
If we store a location in each world, it may be stored under {players::UUID::WORLD::location}
. What if I wanted to get a list of all player locations in the end dimension?
Current Skript
loop {players::*}:
add {players::%loop-index%::end::location} to {_locationlist::*}
New Syntax
set {_locationlist::*} to {players::*::end::location}
Another example is a quest system. What if I wanted the list of all items required for every quest?
Current Skript
loop {quest::*}:
add {quest::%loop-index%::*} to {_questItems::*}
New Syntax
set {_questItems:*} to {quest::*::items::*}
Why?
I want this feature added because it would make list management much easier and allows developers to clean up their redundant loops.
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.
Metadata
Metadata
Assignees
Labels
enhancementFeature request, an issue about something that could be improved, or a PR improving something.Feature request, an issue about something that could be improved, or a PR improving something.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements)."Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).variablesRelated to variables and/or storing them.Related to variables and/or storing them.