Thanks to
heda and
benf, I manage to transpose all functions to a LUA version of the template, for users who use REAPER v5 pre-releases.
It also uses the console debug functions which has been transposed to LUA too.
The download links are updated in the first post.
Cheers