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.

Solved Can't use the "set lore..."

Discussion in 'Skript' started by couger44, Feb 27, 2019.

Tags:
Thread Status:
Not open for further replies.
  1. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Code (Text):
    1. command /lore [<text>]:
    2.     permission: world.lore
    3.     permission message: &cNo tienes permisos!
    4.     trigger:
    5.         if sender is a player:
    6.             if arg 1 isn't set:
    7.                 send "&2&lWorld&f&lCraft&7 /lore <texto para el item>"
    8.                 stop
    9.             if arg 1 is set:
    10.                 set lore of player's tool to "%coloured arg 1%"
    11.                 send "&2&lWorld&f&lCraft&7 Colocaste la descripcion de tu item: %coloured arg 1%"
    12.         else:
    13.             send "Este comando solo puede ser ejecutado por un jugador."
    14.             stop
    15.            
    I trying other options, but still getting error
    upload_2019-2-28_17-26-54.png


     
    #1 couger44, Feb 27, 2019
    Last edited: Feb 28, 2019
  2. Best Answer:
    Post #9 by TPGamesNL, Mar 1, 2019
  3. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,500
    Likes Received:
    102
    Medals:
    What's the error?
     
    • Agree Agree x 2
  4. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    495
    Likes Received:
    31
    First of all: Say what the damn error is. If you mean
    Code (Skript):
    1. Line 34: Coloured the 1st argument is already a text, so you should not put it in one (e.g. coloured the 1st argument instead of "%coloured the 1st argument%") (script.sk, line 34: set lore of player's tool to "%coloured arg 1%"')
    it's not an error. just remove the quotes and percentages.
     
  5. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    upload_2019-2-28_17-28-47.png
     
  6. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    495
    Likes Received:
    31
  7. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    The skript only recognizes me until the "lore of player's too" part. And I do not know how to fix it
     
  8. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,181
    Likes Received:
    220
    Which version of Skript and Spigot are you using?
     
  9. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Skript 2.1.2
    Spigot 1.8.8
    And that is not the only code that does not recognize me.
    Look this:
     

    Attached Files:

  10. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,500
    Likes Received:
    102
    Medals:
    Try using dev36. Also, use TuSKe or Skript for your GUIs. And use >= instead of is >=
     
    • Informative Informative x 1
  11. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,181
    Likes Received:
    220
    My guess is you have an addon that is conflicting, that is usually what causes vanilla skript to break
     
  12. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    MundoSk, Skellet, SkQuery, SkRayFall, SkUtilities, TuSKe, WolvSk.
    These are the addons that I currently have on my server.
    --- Double Post Merged, Mar 1, 2019, Original Post Date: Mar 1, 2019 ---
    O my god, thanks you so much.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...