Open WilliamRagstad opened 4 years ago
Sadly mcscript isn't really maintained or updated any more...
This is a great idea, but as @Heath123 mentioned I am not adding new features to mcscript anymore, because the work required to rearrange everything is too much. I could see this in my modular approach objD though.
There is a poly-fill trick for supporting arguments to functions using the new
/data get storage [name] [path]
. Format example:This will allow for real-time function calls if you create a macro that generates commands similar to the following code: (simulating using C#)
This could probably be optimized in many ways regarding to recursion etc (can be solved by storing arguments in temp variables), but this is the overall picture.