Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local test = peripheral.isPresent("bottom")
- local mon = peripheral.wrap("right")
- local x = 1
- local y = 1
- mon.write(test)
- mon.clear()
- mon.setCursorPos(x,y)
- mon.setTextScale(1)
- for i,v in ipairs(peripheral.getMethods("bottom"))
- do mon.write(i..". "..v)
- y = y + 1
- mon.setCursorPos(x,y)
- end
Advertisement
Add Comment
Please, Sign In to add comment