KingKevin23

chunk_scan

Aug 7th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local args = {...}
  2. local scanner = peripheral.wrap("back")
  3. local result = scanner.chunkAnalyze()
  4. for k,v in pairs(result) do
  5.     if string.find(k, args[1]) then
  6.         print(k, v)
  7.     end
  8. end
Add Comment
Please, Sign In to add comment