Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon1 = peripheral.wrap("front") -- path side
- mon2 = peripheral.wrap("back") -- runway side
- mon2.clear()
- mon1.clear()
- mon2.setTextScale(1.6)
- mon2.setCursorPos(6,2)
- mon2.write("RUNWAY 1A")
- function cwrite(text)
- local maxw, maxh = mon1.getSize()
- local curx,cury = mon1.getCursorPos()
- mon1.setCursorPos((maxw-#text)/2,cury)
- mon1.write(text)
- mon1.setCursorPos(curx,cury+1)
- end
- while true do
- mon1.setCursorPos(1,3)
- cwrite(" Sulna International Airport")
- sleep(3)
- mon1.clear()
- mon1.setCursorPos(1,2)
- cwrite("Terminal 1(A) Entrance")
- mon1.setTextScale(1.4)
- mon1.setCursorPos(1,4)
- cwrite("<--------")
- term.setCursorPos(1,5)
- sleep(3)
- mon1.clear()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement