Advertisement
Skillkiller

Größen Anzeige des Monitors

Sep 3rd, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. monitor = "left"
  2. local monitor = peripheral.wrap(monitor)
  3. monitor.setTextScale(1)
  4. maxX, maxY = monitor.getSize()
  5. print("Max X: " .. maxX)
  6. print("Max Y: " .. maxY)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement