8,438
edits
No edit summary Tag: Manual revert |
No edit summary |
||
Line 4: | Line 4: | ||
function p.Main(frame) | function p.Main(frame) | ||
local args = | local oArgs = frame:getParent().args | ||
local args = {} | |||
for k, v in pairs(oArgs) do | |||
v = v:match('^%s*(.-)%s*$') | |||
if v ~= '' then | |||
args[k] = v | |||
end | |||
end | |||
local i = 0 | local i = 0 | ||
if args['active'] ~= nil then | if args['active'] ~= nil then |