#How to give an item a nbt tag with skbee

1 messages · Page 1 of 1 (latest)

karmic valley
#

Im trying to add a tag to an item so that i can then detect it in an if statement but i cant figure it out

#
    if name of tool of player is "<gradient:##00FF1C:##07C40E:##07C40E><bold>VIP <white>rank paper":
        execute console command "/lp user %player% parent set vip"
        remove paper from player
        
command /withdrawVIPP:
    permission: vip.rank
    trigger:
        execute console command "/lp user %player% parent set default"
        wait 1 tick
        set {_name} to minimessage from "<gradient:##00FF1C:##07C40E:##07C40E><bold>VIP <white>rank paper"
        give player (paper named {_name})```
#

this is the whole thing im working with

#

but

#

when i right click nothing happens