Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon0 = peripheral.wrap("monitor_0")
- mon1 = peripheral.wrap("monitor_1")
- mon2 = peripheral.wrap("monitor_2")
- mon3 = peripheral.wrap("monitor_3")
- function monitor_1()
- end
- function monitor_2()
- end
- function monitor_3()
- end
- function monitor_4()
- end
- while true do
- event, side, xPos, yPos = os.pullEvent("monitor_touch")
- if side == "monitor_0" then
- monitor_0()
- elseif side == "monitor_1" then
- monitor_1()
- elseif side == "monitor_2" then
- monitor_2()
- elseif side == "monitor_3" then
- monitor_3()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement