Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t = peripheral.wrap("right")
- t.clear()
- local warning = 10000000
- while true do --Always loop
- sleep(1)
- builder = peripheral.call("dimension_builder_0", "getDimensionPower")
- t.setTextScale(1)
- t.setBackgroundColor(colors.lime)
- t.setCursorPos(23,1)
- t.write(string.rep(" ",6))
- t.setCursorPos(23,1)
- t.setTextColor(colors.white)
- t.write("Status")
- t.setCursorPos(23,3)
- t.write("Status")
- t.setCursorPos(23,5)
- t.write("Status")
- t.setTextColor(colors.green)
- t.setBackgroundColor(colors.black)
- t.setCursorPos(1,1)
- t.write("CertusQuartzDimension")
- t.setCursorPos(1,3)
- t.write("ChargedCertusQuartz")
- t.setCursorPos(1,5)
- t.write("EmeraldBlockDimension")
- event,side,x,y = os.pullEvent()
- if event=="monitor_touch" then
- if x > 21 and x < 29 and y == 1 then
- t.clear()
- os.loadAPI("test")
- break
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement