Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- rednet.open("bottom")
- mon = peripheral.wrap("front")
- term.redirect(mon)
- function elevatormatrix()
- mon.setBackgroundColor(colors.black)
- mon.clear()
- matrixfloor = paintutils.loadImage("imagem")
- paintutils.drawImage(matrixfloor, -2, 1)
- end
- function elevatorinscribers()
- mon.setBackgroundColor(colors.black)
- mon.clear()
- inscriber = paintutils.loadImage("floor")
- paintutils.drawImage(inscriber, -3, 1)
- end
- id, message = rednet.receive()
- if id == 26 then
- elevatormatrix()
- elseif
- id == 24 then
- elevatorinscribers()
- else
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement