Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = peripheral.wrap("top")
- mon.setTextScale(1)
- mon.setTextColor(colors.white)
- local button=()
- mon.setBackgroundColor(colors.black)
- function clearTable()
- button= ()
- mon.clear()
- end
- function setTable(name, func, xmin, xmax, ymin. yma
- button[name] = ()
- button[name]["func"] =func
- button[name]["active"] = false
- button[name]["xmin"] = xmin
- button[name]["ymin"] = ymin
- button[name]["xmax"] = xmax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement