This commit is contained in:
Grzegorz Budny 2019-08-04 21:26:01 +02:00
parent 50874b1760
commit c46ad9c453

View file

@ -6,13 +6,16 @@
:if ([:len [/file find name=$scriptName]] <= 0) do={
:log info ($scriptName." not found, make sure file exists!");
}
:if ([:len [/file find name=$scriptName]] > 0) do={
:log info ($scriptName." found. Executing!");
/system script run $scriptName;
:log info ($scriptName." loaded to environment");
}
}