Basically, I want to be able to take string str, and run a lua function called the same way. For example:
str = "text" local function text() print( "This is a function" ) end
I want to redirect str to run the function.
In the case this isn’t possible - is there any way at all to direct a string to a command without having an if statement?