TechManDylan

Printer

Nov 17th, 2021 (edited)
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. local printer = peripheral.find("printer")
  2. local ready = printer.newPage()
  3.  
  4. if ready then
  5.   printer.write("Im robbing billagers with this.")
  6.   printer.setPageTitle("Free Money")
  7.   printer.endPage()
  8. else
  9.   error("Could not create a page. Is there any paper and ink in the printer?")
  10. end
Add Comment
Please, Sign In to add comment