code_language.skript:
on inventory click:
if player's current inventory's name is "&a&nBanker":
cancel event
if clicked item is not air:
if clicked item is emerald named "&aGem":
set {_amount} to amount of clicked item
remove {_amount} from player's inventory
add {_amount} to {eco::balance::%uuid of player%}
So this is my current code.
For some reason, it's not getting the amount of clicked item.
It keeps on saying that the "amount of clicked item" can only ever have one value at most.. what am I doing wrong?