Module:Z8: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
u |
|
(No difference)
| |
Latest revision as of 03:23, 26 October 2026
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