Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not fs.exists("digMonitor") then
- shell.run("pastebin", "get", "2RMg3kFa", "digMonitor")
- end
- os.loadAPI("digMonitor")
- local monitor = digMonitor.Mon:new()
- local x = {}
- for i = 1, 999 do
- local t = {1, 2, 3, 4, 5}
- a = math.random(1, #t)
- local ttt = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}
- c = math.random(1, #ttt)
- local tt = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}
- d = math.random(1, #tt)
- if a == 1 then
- x[#x + 1] = {i, "paused"}
- elseif a == 2 then
- x[#x + 1] = {i, "home"}
- else
- x[#x + 1] = {i, c, d}
- end
- end
- monitor:setData(x)
- monitor:showData()
- monitor:listen()
- local x = {{ 1,2,2 },{33,2,3},{44, "Paused"}}
Advertisement
Add Comment
Please, Sign In to add comment