code_language.skript:
on right click with paper:
if "%lore of player's tool%" contains "Right click to deposit":
set {_banknote::*} to name of player's tool split at "$"
add {_banknote::1} to {balance::%player%}
remove player's held item from player's inventory
message "&a$%{_banknote::2}% &7has been added to your account"
play "ORB_PICKUP" to player at volume 1 and pitch 10
Essentially I want to deposit the amount inside the parenthesis on the bank note but I'm not sure how to get that number.
https://gyazo.com/2d2f9a4c629833af0efbb56bfd7c5d2b
https://gyazo.com/11162ee938add05f19694843d955104a
Last edited: