I have a voucher redeem thing but its not working with multiple of the item, the only add-on im using is Skbee
code_language.skript:
on right click:
if player's tool is paper named "&a&lMONEY VOUCHER &7(Right click to Redeem)":
set {_p} to (2nd element of ((1st element of uncolored lore of event-item) split at " | "))
execute console command "eco give %player% %{_p}%"
remove 1 of player's tool from player's inventory
send "&7You have redeemed a voucher for &a%{_p}%&7!" to player