Hey guys, I made a Skript which does have achievements in itself and gives you tags by you make these achievements.
Like; mining your first diamond gives you permission to use "Rich" tag.
If you want to use a tag, you are typing "/tag" and select the tag that you want to use from tags GUI.
Here is a screenshot to make it more clear:
So, it works quite good. It can check the achievements, tags, and list them in a GUI by a simple code. But when it comes to selecting one of the tags, it sets your tag to the last tag in the gui, doesn't matter which one you choose. If you selected the "Rich" tag, and the last tag in the GUI is "Hunter", it selects the "Hunter".
Here is my code:
What I want is simple; I just want it to work properly. If I choose tag "Rich", I want it to set my tag to "Rich", not something else. I hope I made it clear.
Note that, I know that there is nothing wrong with the {tags::%player%::*} list. Problem is somewhere in the loop, that's why I only put the loop code.
Like; mining your first diamond gives you permission to use "Rich" tag.
If you want to use a tag, you are typing "/tag" and select the tag that you want to use from tags GUI.
Here is a screenshot to make it more clear:
So, it works quite good. It can check the achievements, tags, and list them in a GUI by a simple code. But when it comes to selecting one of the tags, it sets your tag to the last tag in the gui, doesn't matter which one you choose. If you selected the "Rich" tag, and the last tag in the GUI is "Hunter", it selects the "Hunter".
Here is my code:
Code:
loop size of {tags::%player%::*} times:
format slot loop-value + 8 of player with name tag named "%{color::%player%}%&l%{tags::%player%::%loop-value%}%" with lore "" and "&7Örnek görünüm:" and "&8» %{color::%player%}%[%{tags::%player%::%loop-value%}%] &7%player%" and "" and "&5<Seçmek için tıkla>" to close then run [set {prefix::%player%} to "%{color::%player%}%[%{tags::%player%::%loop-value%}%]&7"]
What I want is simple; I just want it to work properly. If I choose tag "Rich", I want it to set my tag to "Rich", not something else. I hope I made it clear.
Note that, I know that there is nothing wrong with the {tags::%player%::*} list. Problem is somewhere in the loop, that's why I only put the loop code.