code_language.skript:
function bankCode(p: Player, amount: Number):
set {_UUID} to uuid of {_p}
if {_amount} <= 0:
message "&cnull 1" to {_p}
else if {_amount} <= {eco::balance::%{_UUID}%}:
subtract {_amount} from {eco::balance::%{_UUID}%}
give {_p} {_amount} Emerald named "&aGem"
message "&anull 1" to {_p}
stop
It's telling me that `{_amount}` it's not an item, tho it's parsed as a number..
code_language.skript:
give {_p} {_amount} Emerald named "&aGem"
here where the error is.