Posted 22 December 2015 - 12:17 AM
so what im trying to do is use variables to set and call data within a table and im getting this error. what do i do?
code:
code:
x,y = term.getSize()
z = 5
while z > 0 do
z = z-1
zX[z] = math.random(x)
zY[z] = math.random(y)
end
zr = z
while zr > 0 do
zr = zr-1
term.setCursorPos(zX[zr],zY[zr])
term.setBackgroundColor(colors.green)
print(" ")
end
Edited on 22 December 2015 - 03:53 AM