Module:Bongolium500/learning

From Tardis Wiki, the free Doctor Who reference
Revision as of 21:07, 14 November 2021 by Bongolium500 (talk | contribs)

Script error: The function "error" does not exist.


local p = {} --p stands for package
local test1 = {["first"] = "first2", ["second"] = "second2"}
local test2 = {}
	
function p.hello( frame )
	test2[1] = test1["first"]
	test2[test1["second"]] = test1["second"]
    return "Hello, world!"
end

return p