List Variable to All Files in Specified Directory

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

JustADev

Well-Known Member
Apr 8, 2017
379
9
18
22
Question: I use Skript-YAML, and have looked at the syntax. But is there a way to set a list var to all files in a specified directory using Skript-YAML.

My current system is:
Capture_zps8eggno4m.png


And inside Rotations I have:
Capture_zps3q1la2yj.png


And I want to set like {_List::*} to all of the files within the "Rotations" folder
So {_List::*} would contain BlockVille and Tower
 
I don't think Skript-YAML has it but skUtilities has this syntax:

Code:
files in dir[ectory] [including sub dir[ectorie]s] %string%
dir[ectory] [including sub dir[ectorie]s] %string%'s files
 
Status
Not open for further replies.