Unique list variables
TheLimeGlass opened this issue ยท 1 comments
Suggestion
Add a syntax to return all unique values of a list. unique %objects%
and when used in EffChange as the variable add {_example} to unique {_list::*}
it will ensure that the list doesn't contain the value before adding.
Why?
To add Sets to Skript essentially.
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.
I like this idea, but my concern is it will be less efficient than the current method of:
set {_list::%{_element}%} to {_element}
and people will start using a worse version because it's easier to use, like how users over-use contains.
That said, I don't think that's a great reason to not add it.