Module:AUAssembly: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created page with "local p = {} --p stands for package local players = {"iUpgrade","Dools2"} local text = "" function p.table( frame ) table. Sort(players) for i, v in ipairs(players) do text = text..v end return text end return p")
 
mNo edit summary
Line 4: Line 4:


function p.table( frame )
function p.table( frame )
     table. Sort(players)
     table.sort(players)
     for i, v in ipairs(players) do
     for i, v in ipairs(players) do
         text = text..v
         text = text..v

Revision as of 18:23, 7 October 2023

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

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

function p.table( frame )
    table.sort(players)
    for i, v in ipairs(players) do
        text = text..v
    end
    return text
end

return p