Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local printer = peripheral.wrap("bottom")
- function msg(gap, line, text)
- printer.setCursorPos(gap,line)
- text = printer.write(text)
- end
- if printer.newPage() then
- msg(01,02,"table of contents:")
- msg(01,03,"~~~~~~~~~~~~~~~~~~")
- msg(01,05,"Chat rules..............3")
- msg(01,06,"Griefing................4")
- msg(01,07,"Dealing with players..5-6")
- msg(01,08,"Advantages............7-9")
- msg(01,09,"Claiming rules.........10")
- msg(01,10,"Items..................11")
- msg(01,11,"Miscellaneous.......12-14")
- msg(19,21,"Page 2")
- printer.setPageTitle("Page 2")
- printer.endPage()
- else
- error("Page could not be created.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement