Anonymous

Module:Calculator/AgilityObstacle: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 136: Line 136:


function p._main(args)
function p._main(args)
return Debug.toString(args) .. type(args)
return args[1] .. args[2]
end
end


function p.a()
function p.a()
local obstacleNames = {}
local obstacleNames = {}
for i = 1, #args do
for i = 1, 20 do
     if args[i] then
     if args[i] then
     table.insert(obstacleNames, args[i]:match("^%s*(.-)%s*$"))
     table.insert(obstacleNames, args[i]:match("^%s*(.-)%s*$"))
2,875

edits