Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- channel = 1517
- while true do
- event, p1, p2, p3, p4, p5 = os.pullEvent()
- if event == "key" then
- if p1 == 44 then
- rednet.send(channel, "forward")
- end
- if p1 == 31 then
- rednet.send(channel, "back")
- end
- if p1 == 16 then
- rednet.send(channel, "turnleft")
- end
- if p1 == 32 then
- rednet.send(channel, "turnright")
- end
- if p1 == 57 then
- rednet.send(channel, "up")
- end
- if p1 == 42 then
- rednet.send(channel, "down")
- end
- if p1 == 22 then
- rednet.send(channel, "drop")
- end
- if p1 == 23 then
- rednet.send(channel, "suck")
- end
- if p1 == 80 then
- rednet.send(channel, "dig")
- end
- if p1 == 76 then
- rednet.send(channel, "place")
- end
- if p1 == 79 then
- rednet.send(channel, "digup")
- end
- if p1 == 81 then
- rednet.send(channel, "digdown")
- end
- if p1 == 75 then
- rednet.send(channel, "placeup")
- end
- if p1 == 77 then
- rednet.send(channel, "placedown")
- end
- if p1 == 15 then
- rednet.send(channel, "redstone")
- end
- if p1 == 25 then
- rednet.send(channel, "rebootfront")
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment