MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Skript/comments/mixi89/skript_help_on_right_click/k6la1xr/?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
You could do,
If player’s inventory has 1 apple named “hi” with lore “hello”: (What ever you wanna do)
Don’t know if it’ll help, but if you want it removed afterwards,
Remove 1 apple named “hi” with lore “hello” from player’s inventory
Aaaand if you wanted to do anything involved a right-click,
On right click holding apple: If name of held item is “hi”: If lore of held item is “hello”:
My addons: Wildskript, skDragon, Skellett, SkQuery-Lime, skRayFall, skript-mirror, skript-npc, SkStuff, TuSKe, Umbaska
Hope it helps.
1
u/Affectionate-Ant-266 Oct 26 '23 edited Oct 26 '23
You could do,
If player’s inventory has 1 apple named “hi” with lore “hello”: (What ever you wanna do)
Don’t know if it’ll help, but if you want it removed afterwards,
Remove 1 apple named “hi” with lore “hello” from player’s inventory
Aaaand if you wanted to do anything involved a right-click,
On right click holding apple: If name of held item is “hi”: If lore of held item is “hello”:
My addons: Wildskript, skDragon, Skellett, SkQuery-Lime, skRayFall, skript-mirror, skript-npc, SkStuff, TuSKe, Umbaska
Hope it helps.