Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4.  
  5.     local id,commande,pos = rednet.receive()
  6.    
  7.     if commande == "on" then
  8.         redstone.setOutput("back", true)
  9.  
  10.     if commande == "off" then
  11.         redstone.setOutput("back", false)
  12.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement