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

List enchantments [Not Solved Yet]

Discussion in 'Skript' started by Riknesh, May 17, 2018.

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

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    How to list the enchantments of player's tool in chat.
    I tried using the Umbaska code but it didnt work.

    Code (Skript):
    1. enchants of %itemstack%
    2.  
    3. command /test:
    4.     trigger:
    5.         broadcast "%enchants of player's tool%"
    Is there any other way to make this work?
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Even though a few people say not to use skellett it looks it has an EXPRESSION for it
     
  3. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    didnt work tho..

    Code (Skript):
    1. [Server thread/ERROR]: Can't understand this expression: all of the enchantments from player's tool (test.sk, line 165: broadcast "%all of the enchantments from player's tool%"')
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    I just used this and it worked
    Code (Skript):
    1. command /test:
    2.     trigger:
    3.         send "%the enchantments of player's held item%"
     
  5. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    Code (Skript):
    1.  ERROR]: Can't understand this expression: the enchantments of player's held item (test.sk, line 165: send "%the enchantments of player's held item%"')
    --- Double Post Merged, May 17, 2018, Original Post Date: May 17, 2018 ---
    weird....
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    did you download skellett?
     
  7. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    yes i did

    even my skellett syntax for Enchants is true
    Code (Skript):
    1. EnchantsOnItem: true
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    hm... well then i have no idea.
     
  9. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    Could it be any of these other addons that are causing this?

    2018-05-17_17.54.03.png
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    ive never used exertSK so im not really sure. The other ones i have used and never got a conflict.
    which version/author of skript are you using? And which version of skellett?
     
  11. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    Code (Skript):
    1. Skellett version 1.9.6b
    2. Author: LimeGlass
    3.  
    4. Skript version 2.2-dev34
    5. Authors: Njol, Mirreski, bensku, TheBentoBox, tim740, Tuke-Nuke, TheLimeGlass, xXAndrew28Xx, Sashie, RoyCurtis, nfell2009, Syst3ms and Snow-Pyon
     
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    hmm.... both are basically up to date. I honestly am not sure why its not working for you.
    What version of MC are you using? Spigot? Bukkit? Other?
     
  13. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    CraftBukkit version git-Spigot-596221b-9a1fc1e (MC: 1.12) (Implementing API version 1.12-R0.1-SNAPSHOT)
     
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    huh... well im absolutely stumped
     
  15. Mr_Simba

    Mr_Simba King of the Pridelands
    Moderator Supporter

    Joined:
    Dec 9, 2016
    Messages:
    257
    Likes Received:
    55
    Medals:
    This doesn't really help you now but I just want to note that this expression will be coming to vanilla Skript in the next release, whenever that is. It'll be "enchantments of %item%".
     
    • Like Like x 2
  16. Riknesh

    Riknesh Well-Known Member

    Joined:
    Jun 9, 2017
    Messages:
    70
    Likes Received:
    2
    ou that would be nice
     
Thread Status:
Not open for further replies.
Loading...