Alright, so I'm trying to create this really cool feature on my server. It's not happening tho.
I'm a beginner in Skript so I need help. Why not create this Skript together?
So what I have in mind, is making some kind of blacksmith.
So it's a GUI, obv. The first row until slot 7, should be the list that players can place the items in.
The items that are placed in that list (slots) are gonna be added to the items list, like
Now when the items are in the slots, the IF condition gonna take a place in the code.
So let's say, you need common keys to make 1 uncommon key.
if you place 3 keys in that GUI, the items are gonna get added to the items list, so if {blacksmith.%player%::items::*} has those 3 items, and the player clicks on the green dye
It's gonna clear the slots from 0 to 7, give the player the uncommon key, and delete the items list.
But if the player puts only 2 out of 3 items in, it's gonna clear the slots from 0 to 7, give all the items in the list back and delete the list.
So what's the best way to do so? I mean, how to create a list and do the if condition?
This might sound like too much, if we make it, it might help a lot of people, and give some new ideas.
Thanks
[doublepost=1535636632,1535551953][/doublepost]bump.
At least just help making the list for the slots
I'm a beginner in Skript so I need help. Why not create this Skript together?
So what I have in mind, is making some kind of blacksmith.
So it's a GUI, obv. The first row until slot 7, should be the list that players can place the items in.
The items that are placed in that list (slots) are gonna be added to the items list, like
code_language.skript:
{blacksmith.%player%::items::*} -- Just an example.
Now when the items are in the slots, the IF condition gonna take a place in the code.
So let's say, you need common keys to make 1 uncommon key.
if you place 3 keys in that GUI, the items are gonna get added to the items list, so if {blacksmith.%player%::items::*} has those 3 items, and the player clicks on the green dye
It's gonna clear the slots from 0 to 7, give the player the uncommon key, and delete the items list.
But if the player puts only 2 out of 3 items in, it's gonna clear the slots from 0 to 7, give all the items in the list back and delete the list.
So what's the best way to do so? I mean, how to create a list and do the if condition?
This might sound like too much, if we make it, it might help a lot of people, and give some new ideas.
Thanks
[doublepost=1535636632,1535551953][/doublepost]bump.
At least just help making the list for the slots