19.11.2021, 15:22
I don't see how can it be more lightweight than using scripts. In most cases there's no big difference from event scripts apart from keeping local variable values between calls. Even with simplified API it will still be too complicated for most users. You can create a user library if you use this construct often.