different ways to call a function in lua code example
Example 1: How to connect a function in LUA
(connect(function)
Example 2: lua function syntax
function name (parameters)
--code
end
(connect(function)
function name (parameters)
--code
end