Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function findPeripheral( periphType )
- for _, side in pairs( rs.getSides() ) do
- if peripheral.isPresent(side) and peripheral.getType(side) == periphType then
- return side
- end
- end
- error("Cannot find "..periphType.." attached to this computer", 0)
- end
- local side = findPeripheral("monitor")
- local mon = peripheral.wrap(side)
- mon.clear()
- mon.setCursorBlink(false)
- mon.setCursorPos(1,1)
- mon.write("oh geeze rick")
- mon.setCursorPos(1,2)
- mon.write("heck")
- mon.setCursorPos(1,3)
- mon.write("suck ittttttttt")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement