a simple script handler using hscript-iris
this is meant for implementing hscript support for games easily!
this is a little untested, so feel free to pull request on whether i'm doing wrong!
inspired by FNF-LÖVE's scriptshandler.lua
this will load every script in each directory. sub-directories won't work.
adds a custom script to the handler's list
calls every script in the list to execute a function
sets a variable for every script
destroys every script in the list
you may change this if you want scripts on another folder other than assets/scripts
put any extension you want to here! it HAS to be without the dot