Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable cannot be set to a directory's files #46

Open
ghost opened this issue May 27, 2018 · 2 comments
Open

Variable cannot be set to a directory's files #46

ghost opened this issue May 27, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented May 27, 2018

Versions:
Minecraft: 1.12.2
Skript: 2.2 Dev34 (Also tried 2.2 Dev35b, same issue)

Issue, attempting to set a variable to a directory's contents fails. Throwing error:
{_temp::*} can't be set to '"plugins/Skript/scripts"'s files' because the latter is not an object

Code used:
set {_temp::*} to "plugins/Skript/scripts"'s files

@ghost
Copy link
Author

ghost commented Jul 14, 2018

I have this problem.

@jaylawl
Copy link

jaylawl commented Aug 19, 2018

	ExprDirList:
		ID: ExprDirList
		Return type: Text
		Changers:
			none
		Patterns:
			[skutil[ities] ]files in dir[ectory](0¦|1¦ including sub dir[ectorie]s) %string%
			[skutil[ities] ]dir[ectory](0¦|1¦ including sub dir[ectorie]s) %string%'s files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant