Advertisement
MigasRocha

Monitor Size Test [CC:TWEAKS]

Apr 20th, 2024 (edited)
1,029
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. local monitor = peripheral.find("monitor", function(name, obj)
  2.     return obj.getSize and obj.getSize().width == 50 and obj.getSize().height == 19
  3. end)
  4.  
  5. if monitor then
  6.     print("Advanced Monitor found!")
  7. else
  8.     print("Advanced Monitor not found.")
  9. end
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement