diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-02 02:33:07 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-02 02:33:07 +0100 |
commit | 2d256aa242cc81833aa7bb96d5acef444027acc9 (patch) | |
tree | e5a85e11af901dddda61ae69348e235fe0728b8f | |
parent | 53d533b98a8dadb17510b1bfe95323a2d1cce276 (diff) |
launch beescroll
-rw-r--r-- | beescroll.lua | 4 |
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 |