CodeCrafter

senor check

May 1st, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. os.loadAPI("ocs/apis/sensor")
  2. local prox = sensor.wrap("left")
  3. print(textutils.serialize(prox.getTargets()))
Add Comment
Please, Sign In to add comment