Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reactor = peripheral.wrap("BigReactors-Reactor_1")
- mon = peripheral.wrap("monitor_0")
- function button (labelText, x, y)
- mon.setCursorPos(x, y)
- mon.setBackgroundColor(colors.red)
- mon.setTextColor(colors.white)
- mon.write(" " .. labelText .. " ")
- end
- button("toggle reactor")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement