Advertisement
DDarkstorm

Programme machine XP/wither

Nov 6th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. rednet.open"right"
  2.  
  3. while true do
  4.   id, text = os.pullEvent("rednet_message")
  5.   if id == 4 then
  6.     if text == "XP" then
  7.       redstone.setOutput("back",true)
  8.     else
  9.       redstone.setOutput("back",false)
  10.     end
  11.   end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement