The one at a time works, but I can't get the all at once to be redeemed to work.
Any suggestions?
Any suggestions?
Code:
on right click with gold nugget:
if name of player's held item is "&e&lÉrme &7(Jobb Katt)":
if player is sneaking:
set {_érem} to amount of gold nugget named "&e&lÉrme &7(Jobb Katt)" in player's inventory
remove {_érem} of gold nugget from player's inventory
add {_érem} to {érme::%player%}
else:
remove 1 of player's held item from player's held item
add 1 to {érme::%player%}