Module:Z8
From Civilization Modding Wiki
Jump to navigationJump to search
Documentation for this module may be created at Module:Z8/doc
local p = {}
function p.a()
return "OK"
end
function p.b()
local t={}
for k,v in pairs(_G) do t[#t+1]=tostring(k) end
return table.concat(t, ",")
end
function p.c()
local ok, x = pcall(function() return mw.system end)
return tostring(ok) .. ":" .. tostring(x)
end
function p.d()
local ok, x = pcall(function() return mw.getCurrentFrame end)
return tostring(ok)
end
return p