Advertisement
Guest User

test

a guest
Mar 26th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. rednet.open("right")
  2. k=peripheral.wrap("left")
  3.  
  4. while true do
  5.       local senderID = os.pullEvent(rednet_message)
  6.       if (senderID == "58") then
  7.          k.setFreq(20)
  8.          k.set(true)
  9.          k.set(false)
  10.       else
  11.          print("No")
  12.       end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement