Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Add .toString() to Script class

Open erenkarakal opened this issue 1 year ago • 2 comments

Description

Adds a .toString() method to the Script class.

Example outputs:

abc.sk
folder/script.sk

Target Minecraft Versions: any Requirements: none Related Issues: #5834

erenkarakal avatar Apr 18 '24 16:04 erenkarakal

to sum up conversation on discord, I think the toString should hold more information about the Script object than just its file name, perhaps using the common structure of Script{field = value}

sovdeeth avatar Apr 19 '24 16:04 sovdeeth

I don't really like this being the config file name.

Do you have an alternative suggestion or you don't like the pull request. This is blocking.

TheLimeGlass avatar May 11 '24 01:05 TheLimeGlass