Jump to content
  • 0

Skript: "set lore of player's tool" Not Working


Parsafari
 Share

Question

ok so basically I want to lore an item whenever I do /loretest

but when I do it nothing happens to the item (there is also no errors after I reload the script)

here is the script:

command /loretest:
  permission: op
  trigger:
    if player's held item is diamond pickaxe:
      set lore of player's tool to "Lucky Mining||new line"
      send "hey" to player

it says "hey" in chat but nothing happens to the pickaxe. I also have OP permissions and I'm entering the command correctly 🙂

Indie Game Developer

C# Programmer & Skripter

DiscordEmoji9.gif.405514140552c97439f718020548c0e6.gif

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 4

ok so after 2 hours of banging my head against the wall I found out that :

set line 1 of lore of player's tool to "&7Lucky Mining"

works. you can also choose which line u want the lore to be, its so cool! I'm leaving this here in-case anyone from the future faces the same problem as me, maybe I can help them with this. 🙂

  • Like 3
  • Thanks 2
  • Haha 1

Indie Game Developer

C# Programmer & Skripter

DiscordEmoji9.gif.405514140552c97439f718020548c0e6.gif

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...