Skript Version: Skript 2.2
Skript Author: Mirreski
Minecraft Version: 1.8.8
I'm trying to make a banknotes skript and I want players to be able to rightclick and redeem the banknote. I was thinking that if the amount of money the banknote is worth is in the name/lore, then there might be a way to use that in the command (/eco give <player> [amount goes here]) e.g. lore of player's held item as an integer, so removing everything that isn't an integer and insert it into the command.
Skript Author: Mirreski
Minecraft Version: 1.8.8
I'm trying to make a banknotes skript and I want players to be able to rightclick and redeem the banknote. I was thinking that if the amount of money the banknote is worth is in the name/lore, then there might be a way to use that in the command (/eco give <player> [amount goes here]) e.g. lore of player's held item as an integer, so removing everything that isn't an integer and insert it into the command.