Solved Lore item help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Dinoboy

Member
Mar 14, 2020
13
0
1
30
Hello so im making a skript that adds lore to players held item but im not sure if i can ADD lore meaning if someone has line 1 Hi and line 2 bye it will add aother line line 3 cat
how it should work
/lore
*stuff happens*
add lore "kitlore" to players held item
*adds new line*
 
There is no need to add a line.
You can easily just use this:

Code:
command /lore:
  trigger:
    set the 1st line of the item's lore to "example"
    set the 2nd line of the item's lore to "example"
    set the 3rd line of the item's lore to "example"
 
no i want it to ADD a new line
so if i run /lore
whatever play is holding lets say tis a iron pick with lore 1 and 2
it wil automaticly make it line 3 then 4 etc
 
As I said, there's no need to add a line.

Code:
command /lore [<text>]:
  permission: whatever.blahblahblah
  trigger:
    player's tool is a [item]:
      add 1 to {lore}
      set line {lore} of the item's lore to "%arg 1%"
 
nice job ill try it out
As I said, there's no need to add a line.

Code:
command /lore [<text>]:
  permission: whatever.blahblahblah
  trigger:
    player's tool is a [item]:
      add 1 to {lore}
      set line {lore} of the item's lore to "%arg 1%"
[doublepost=1605713596,1605713182][/doublepost]smart person ty!
 
Status
Not open for further replies.