Olyno / skent

Manage your files and folder with Skript
GNU General Public License v3.0
11 stars 2 forks source link

Batch files not running #63

Open kindaDumbB opened 11 hours ago

kindaDumbB commented 11 hours ago

not running batch

Versions

Skript: (/ver skript) 2.9.4 Server: (/ver) This server is running CraftBukkit version 4344-Spigot-a759b62-19bf846 (MC: 1.21.1) (Implementing API version 1.21.1-R0.1-SNAPSHOT) Skent: (/ver skent) Skent v3.3.1

PLEASE TELL ME IF I AM NOT UP TO DATE

Code

command abc:
  permission: test
  trigger:
    execute file path "plugins/ab/bat.bat"

There IS no error. it just wont run the batch

Olyno commented 7 hours ago

Hi 👋🏻 Thank you for your report. If by "not running" you mean you don't have any logs from it, it is normal. Below is the code to get logs from it:

on file executed:
    set {_output} to output of event-process
    broadcast "Hello %{_output}%" # Hello World

If your issue is not related to logs, please let me know.