Guest User

housec

a guest
Aug 7th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.loadAPI("button")
  2. m = peripheral.wrap("right")
  3. m.clear
  4.  
  5. function fillTable()
  6.     button.setTabel("Main Menu", mainMenu, 17, 18, 14, 24)
  7.     button.setTabel("MobSpawner", mobSpawner, 7, 9, 3, 11)
  8.     button.setTabel("BaseStatus", baseStatus, 7, 9, 15, 23)
  9.     button.setTabel("SpawnWither", spawnWither, 7, 9, 27, 35)
  10.     button.setTabel("Blank1", blank1, 3, 5, 15, 23)
  11.     button.setTabel("Blank2", blank2, 11, 13, 15, 23)
  12. end
  13.  
  14. function getClick()
  15. event,side,x,y = os.pullEvent("monitor_touch")
  16. button.check(x,y)
  17.  
  18. function mobSpawner()
  19. button.flash("MobSpawner")
  20. end
  21.  
  22. function spawnWither()
  23. button.flash("SpawnWither")
  24. end
  25.  
  26. function mainMenu()
  27. button.flash("MainMenu")
  28. end
  29.  
  30. function baseStatus()
  31. button.flash("BaseStatus")
  32. end
  33.  
  34. function blank1()
  35. button.toggleButton("Blank1")
  36. end
  37.  
  38. function blank2()
  39. button.toggleButton("Blank2")
  40. end
Advertisement
Add Comment
Please, Sign In to add comment