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 19:23, 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 )
    table.sort(players)
    for i, v in ipairs(players) do
        text = text..v
    end
    return text
end

return p