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 Show all skripts in the skript' folder

Discussion in 'Skript' started by couger44, Mar 26, 2019.

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

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    How can I make it so that when placing "/sklist", I show all my skripts on the server?

     
  2. Best Answer:
    Post #4 by TPGamesNL, Mar 29, 2019
  3. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,500
    Likes Received:
    102
    Medals:
    I think it's this (requires skript-mirror):
    Code (Text):
    1.  
    2. import:
    3.     java.IO.File
    4.  
    5.    
    6. command /sklist:
    7.     trigger:
    8.         set {_file} to new File("plugins/Skript/scripts")
    9.         set {_scripts::*} to ...{_file}.listFiles()
    10.  
     
  4. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    upload_2019-3-28_21-5-50.png
    I'm sorry if I made a mistake, I've never worked with Skript-Mirror
     
  5. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,500
    Likes Received:
    102
    Medals:
    Sorry, small mistake: io shouldn't be in capital letters
     
  6. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Thanks to much.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...