Basically, I've got two Lua scripts.
Say AllMyStuff.lua has the following:
and then I've got another separate file called CallFromHere.lua and it contains:Code:function MyStuffFunction( Input ) print(Input .. " was the input."); end
How exactly would I have it able to use a function from a separate script, or would that work?Code:function DoStartup() MyStuffFunction("Blah blah blah, Mr. Freeman..."); MyStuffFunction("BlackPeople['Favorites'].Watermelon = true"); end DoStartup();