Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("button")
- m = peripheral.wrap("right")
- m.clear
- function fillTable()
- button.setTabel("Main Menu", mainMenu, 17, 18, 14, 24)
- button.setTabel("MobSpawner", mobSpawner, 7, 9, 3, 11)
- button.setTabel("BaseStatus", baseStatus, 7, 9, 15, 23)
- button.setTabel("SpawnWither", spawnWither, 7, 9, 27, 35)
- button.setTabel("Blank1", blank1, 3, 5, 15, 23)
- button.setTabel("Blank2", blank2, 11, 13, 15, 23)
- end
- function getClick()
- event,side,x,y = os.pullEvent("monitor_touch")
- button.check(x,y)
- function mobSpawner()
- button.flash("MobSpawner")
- end
- function spawnWither()
- button.flash("SpawnWither")
- end
- function mainMenu()
- button.flash("MainMenu")
- end
- function baseStatus()
- button.flash("BaseStatus")
- end
- function blank1()
- button.toggleButton("Blank1")
- end
- function blank2()
- button.toggleButton("Blank2")
- end
Advertisement
Add Comment
Please, Sign In to add comment