Module:TestMod

From Hazeron Wiki
Revision as of 11:55, 17 April 2024 by Celarious (talk | contribs) (what if we remove the p)
Jump to navigation Jump to search

Basic test Lua module, can be invoked with {{#invoke: TestMod|FunctionName|arg1|arg2|etc ...}}


local p = {} --p stands for package

function hello( frame )
    return "Hello, world!"
end

return p