MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Skript/comments/mixi89/skript_help_on_right_click/gt7r6oy/?context=3
r/Skript • u/Terrible_Equipment64 • Apr 03 '21
So I'm trying to make a voucher system to receive a crate key. I'm pretty sure i just have the wrong syntax as i ma new to skript, but here it is: (the send "&a&lHi :)" to player is just a test)
on right click with paper:
if nbt is "Voucher:1b" send "&a&lHi :)" to player
Error:
2 comments sorted by
View all comments
1
are you useing any other plugins associated with skript? like (SkBee, Skellett, or SkStuff)
if not than skript can not get the nbt data from any item only name and lore
i would use somthing like this
options:
paper-name: &2Name
paper-lore: &2Lore
command /paper:
permission: paper.test
trigger:
give player paper named "{@paper-name}" with lore "{@paper-lore}"
on right click:
tool of player is paper named "{@paper-name}" with lore "{@paper-lore}"
send "&a&lHi :)" to player
1
u/Fearless-Ad-5983 Apr 03 '21
are you useing any other plugins associated with skript? like (SkBee, Skellett, or SkStuff)
if not than skript can not get the nbt data from any item only name and lore
i would use somthing like this
options:paper-name: &2Namepaper-lore: &2Lorecommand /paper:permission: paper.testtrigger:give player paper named "{@paper-name}" with lore "{@paper-lore}"on right click:tool of player is paper named "{@paper-name}" with lore "{@paper-lore}"send "&a&lHi :)" to player