From 2d256aa242cc81833aa7bb96d5acef444027acc9 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 2 Apr 2024 02:33:07 +0100 Subject: launch beescroll --- beescroll.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'beescroll.lua') 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 -- cgit v1.2.3