Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("front")
- w1 = "EnderIO"
- w3 = "Mekanism"
- w2 = "Reactor"
- function printArrows()
- mon.setCursorPos(3,2)
- mon.write("|")
- mon.setCursorPos(3,3)
- mon.write("|")
- mon.setCursorPos(1,4)
- mon.write("<-#")
- x,y = mon.getSize()
- mon.setCursorPos(x-2,2)
- mon.write("|")
- mon.setCursorPos(x-2,3)
- mon.write("|")
- mon.setCursorPos(x-2,4)
- mon.write("#->")
- end
- length = string.len(w1)+string.len(w2)
- mon.clear()
- mon.setCursorPos(1,1)
- mon.write(w1)
- x,y = mon.getSize()
- for i=1,(x-length),1 do
- mon.write(" ")
- end
- mon.write(w2)
- length = (string.len(w3)-1)/2
- x,y = mon.getSize()
- x = x+2
- mon.setCursorPos(((x-1)/2)-length,2)
- mon.write(w3)
- mon.setCursorPos(((x-1)/2),3)
- mon.write("|")
- mon.setCursorPos(((x-1)/2),4)
- mon.write("|")
- mon.setCursorPos(((x-1)/2)-1,5)
- mon.write("\\#/")
- printArrows()
Add Comment
Please, Sign In to add comment