Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("front")
- local mn = peripheral.wrap("top")
- mn.setBackgroundColor(colors.black)
- mn.clear()
- local sx,sy = mn.getSize()
- for i=1,sy do
- mn.setCursorPos(2,i)
- mn.setBackgroundColor(colors.orange)
- mn.write(" ")
- mn.setCursorPos(sx-1,i)
- mn.write(" ")
- os.sleep(0.025)
- end
- for g=3,sx do
- for i=1,sy do
- mn.setCursorPos(g,i)
- mn.setBackgroundColor(colors.red)
- mn.write(" ")
- end
- if(g == sx-2) then
- break
- end
- end
- mn = peripheral.wrap("monitor_10")
- for i=1,sy do
- mn.setCursorPos(2,i)
- mn.setBackgroundColor(colors.orange)
- mn.write(" ")
- mn.setCursorPos(sx-1,i)
- mn.write(" ")
- os.sleep(0.025)
- end
- for g=3,sx do
- for i=1,sy do
- mn.setCursorPos(g,i)
- mn.setBackgroundColor(colors.red)
- mn.write(" ")
- end
- if(g == sx-2) then
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement