1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Set lore command not working with multiple lines

Discussion in 'Skript' started by Cohenerickson, Mar 26, 2021.

Thread Status:
Not open for further replies.
  1. Cohenerickson

    Cohenerickson Member

    Joined:
    Mar 26, 2021
    Messages:
    3
    Likes Received:
    0
    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 (Text):
    1. command /lore [<text>]:
    2.     trigger:
    3.         set lore if players tool to colored arg 1
    What I'm typing to try and set the lore is:
     
  2. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    This is more easy to do in your case:

    Code (Skript):
    1. command /lore <int> <string>:
    2.    trigger:
    3.        set line arg 1 of lore of player's held item to "%coloured arg 2%"
     
Thread Status:
Not open for further replies.

Share This Page

Loading...