Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. p = peripheral.wrap("up")
  2. p.clear()
  3. function Main()
  4. while true do
  5. t = os.time()
  6. d = (textutils.formatTime(t,false))
  7. p.clear()
  8. box = p.addBox(4,30,100.00345,5,0xCD0000,0.5)
  9. text = p.addText(5,5,d,0xFFFFFF)
  10. text = p.addText(5,15,"Eu Storage.",0xFFFFFF)
  11. network = peripheral.wrap("bottom")
  12. E = network.callRemote("batbox_0","getStored")
  13. E = E / 10000000*100
  14. box = p.addBox(4,30,E,5,0x76EE00,1)
  15. sleep(1)
  16. end
  17. end
  18.  
  19. function HUDreload()
  20. p.clear()
  21. os.reboot()
  22. end
  23.  
  24. while true do
  25. f = 0
  26. meWait = 0
  27. Main()
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement