For your second question read this post from @Fox ,
maybe its what you need. Its in Russian, but you can
use translator. There is an example script too >
Function Variable
-
Do functions themselves carry referenceable names.
Is there a way to make each function name be a variable without setting variable each time? -
@hellomembersha said in Function Variable:
Do functions themselves carry referenceable names.
Is there a way to make each function name be a variable without setting variable each time?"Execute code"
[[NEW_VARIABLE]] = function(){log("hello")};Use [[NEW_VARIABLE]](), type
expression -
Thank you fox