I would like to call a function in a Lua file but only if the function exists, How would one go about doing this?
Try:
if foo ~= nil then foo() end