blob: 72b61b856915877c7118407392d17fb4776d13f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
local m = peripheral.find"monitor"
local W,H = m.getSize()
while true do
local x = math.random(0,100000)
m.scroll(1)
m.setCursorPos(1,H)
m.write(string.format("%04d",x))
os.sleep(1)
end
|