Set lore command not working with multiple lines

  • 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.

Cohenerickson

Member
Mar 26, 2021
3
0
1
17
I'm trying to make a lore command to set the lore of an item but I'm having trouble getting it to be multi-line, if anyone could help that would be great.
This is my code:
Code:
command /lore [<text>]:
    trigger:
        set lore if players tool to colored arg 1

What I'm typing to try and set the lore is:
/lore line1||line2||line3
 
I'm trying to make a lore command to set the lore of an item but I'm having trouble getting it to be multi-line, if anyone could help that would be great.
This is my code:
Code:
command /lore [<text>]:
    trigger:
        set lore if players tool to colored arg 1

What I'm typing to try and set the lore is:
This is more easy to do in your case:

code_language.skript:
command /lore <int> <string>:
   trigger:
       set line arg 1 of lore of player's held item to "%coloured arg 2%"
 
Status
Not open for further replies.