• 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 community!

    Now, what are you waiting for? Join the community now!

- Added profiler markers as an experimental feature. Read more about them here.
- Fixed the `new future` expression returning a future with wrong timeout, resulting in way shorter timeouts.
- Adjusted the `new future` expression's pattern to allow `set {_x} to a new future ...`
- Added a new assert effect:
Code:
function countdown(seconds: int):
  assert {_seconds} > 0 with error "seconds should be positive"
  # code stops if the assert fails
- The old new string: section was deprecated in favor of the new expression section: `set {_x} to new string:`. Old code will continue to work, but it will throw warnings.
Diff:
- new string joined with " ":
-   "hello"
-   player
- broadcast last string


+ set {_message} to new string joined with " ":
+   "hello"
+   player
+ broadcast {_message}
- tree of %objects% was deprecated in favor of Skript's new recursive %objects% expression. Old code will continue to work, but it will throw warnings.
- Function Section syntax was reworked and requires changes in your code. The goal is to make the transition easier when Skript 2.15 adds these syntaxes.
Diff:
- execute function add and store it in {_result}:
-   first set to 5
-   second set to 10
- broadcast {_result}


+ set {_result} to function blob with arguments:
+   first set to 5
+   second set to 10
+ broadcast {_result}
Diff:
- execute function sendHello:
-   p: player


+ execute function sendHello:
+   p set to player
- Lots of code maintenance to make sure SkCheese works in future Skript versions
- Removes the deprecated PreScriptLoad listener, which caused warnings during server startup.
- Adds a new effect to throw runtime errors and warnings.
- Fixed a bug where using a switch case clears all local variables
- Added binary/hexadecimal number formats
- Added bitwise operations
- Added the 'eval' effect

Check the wiki for more info on new features!
Fixed issues with the 'new string' section:
- Options will now work correctly
- Unset values will now be shown as '<none>' rather than 'null'
Added pairs that can be used to store 2 values as a single value, which is very useful for functions.
See the wiki for examples.
- Added wrapped lists, see the documentation or the wiki to learn more.
- Fixed the Future type being registered despite being disabled.
- Now available on SkUnity docs.
- Fixed typos and a small bug related to the config.
- Slightly changed 'if not' syntax because it was misleading.
- Added update checker. (console message only)
- Added 'future' syntaxes. They can be used to wait for an event in the middle of your code such as waiting for a chat input.
- Added multi-line string section.
- Renamed 'reverted condition' to 'if not'.
- The 'if not' and 'all true?' conditions are now seperate in the config.

For more info, please check the GitHub wiki or SkriptHub documentation. If something is unclear or you have issues, contact me on the support Discord.

Take care!!!
- New resource page, icon, banner
- Syntaxes are now available on SkriptHub docs and the Github wiki
- Added 'variable tree' expression
- Added 'parsed as type' expression
- Added 'reverted boolean' expression
- Added 2 new effects for labels (a.k.a. goto)
- Added 2 new conditions for reverting a condition and checking if a list of booleans are all true
- The config code was rewritten, if you used SkCheese before you may need to delete your config
- Switch cases were rewritten and it is now disabled by default, you can enable it in the config

For detailed information, check the Github wiki.
!!! Happy 2024 !!!