I'm trying to setup a loop that prints 1000 lines in a file, but it's printing 50000 lines. It should be adding 5 to i and 2 to c but it's adding 2 to c 100 times, adding 5 to i once then adding 2 to c another 100 times. Here's the code,
local file = io.open("output.txt", "w")
for i=60,5055,5 do
for c=0,100,2 do
file:write(" - summon tnt ~" .. c .. " ~" .. c .. " ~" .. c .. " {Fuse:" .. i .. "}\n")
end
end
file:close()
cin a loopi, runsi x ctimes. ((5055-60)/5) x ((100-0)/2) - PeterMmm