Hello guys,
I was trying to make a shop like skript, where the currency is emeralds.
So i wrote this simple code:
This works, but the problem is: If a emerald has a lore or a name, it does not get removed.
Is there a way to 'ignore' the lores and the names of the emeralds? So even if 1 emerald has a name, another has a lore and another is normal, and the price is 3 emeralds, that they will all get removed?
[doublepost=1569766741,1569502494][/doublepost]I still have not found a solution for this problem.
I was trying to make a shop like skript, where the currency is emeralds.
So i wrote this simple code:
Code:
command /pay <integer>:
trigger:
remove arg-1 of emerald from player's inventory
This works, but the problem is: If a emerald has a lore or a name, it does not get removed.
Is there a way to 'ignore' the lores and the names of the emeralds? So even if 1 emerald has a name, another has a lore and another is normal, and the price is 3 emeralds, that they will all get removed?
[doublepost=1569766741,1569502494][/doublepost]I still have not found a solution for this problem.