#Get NBT data

1 messages · Page 1 of 1 (latest)

proud tusk
#
set {_line} to uncolored event-block's name
        set {_split::*} to {_line} split at "$"
        loop {_split::*}:
            set {cost} to (loop-value parsed as a number)
        broadcast "&e$%{cost}%"```my code so far
placid prawn
#

Just store the cost in the nbt so you dont have to split or parse

proud tusk
#

Can you help me with that since I'm not very good with nbt data

#

Would I add an nbt tag for example "100" as the cost?

#

then grab that?