summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--beescroll.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/beescroll.lua b/beescroll.lua
index 72b61b8..3859240 100644
--- a/beescroll.lua
+++ b/beescroll.lua
@@ -3,10 +3,10 @@ local m = peripheral.find"monitor"
local W,H = m.getSize()
while true do
- local x = math.random(0,100000)
+ local x = math.random(0,999999)
m.scroll(1)
m.setCursorPos(1,H)
- m.write(string.format("%04d",x))
+ m.write(string.format("%06d",x))
os.sleep(1)
end