Module:AUAssembly: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
         text = text.."\n| "..v
         text = text.."\n| "..v
     end
     end
    text = text.."\n|}"
     return text
     return text
end
end


return p
return p

Revision as of 19:26, 7 October 2023

Documentation for this module may be created at Module:AUAssembly/doc

Script error: Lua error: Internal error: The interpreter exited with status 126.

local p = {} --p stands for package
local players = {"iUpgrade","Dools2"}
local text = ""

function p.table( frame )
    text = "{|"
    table.sort(players)
    for i, v in ipairs(players) do
        text = text.."\n| "..v
    end
    text = text.."\n|}"
    return text
end

return p