Content deleted Content added
Undid revision 947202484 by Alexiscoutinho (talk) |
No edit summary |
||
Line 15:
for parameter in mw.text.gsplit( lines[#lines], ';' ) do
mw.log(i)
mw.log(parameter)
if string.find( parameter, '^ *%A' ) then
if i == 6 then
total1 = tonumber( string.gsub( parameter, '%D', '' ) )
mw.log(total1)
if not total1 then
total1 = 0
end
mw.log(total1)
elseif i == 8 then
total2 = tonumber( string.gsub( parameter, '%D', '' ) )
mw.log(total2)
if not total2 then
total2 = 0
end
mw.log(total2)
break
end
|