Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor
- function writeAt(x,y,text)
- monitor.setCursorPos(x,y)
- monitor.write(text)
- end
- function startMonitor()
- monitor = peripheral.wrap("right")
- end
- function drawDisplay()
- monitor.clear()
- writeAt(1,1,"***************************")
- writeAt(1,2,"* awesome faction *")
- writeAt(1,3,"***************************")
- writeAt(1,4,"**")
- writeAt(1,5,"**")
- end
- startMonitor()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement