Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- controllerId = 0
- function ClearScreen()
- term.clear()
- term.SetCursorPos(1,1)
- end
- ClearScreen()
- print("Ready for Commands!")
- while true do
- sentBy, message, protocall = rednet.receive()
- if(sentBy == controllerId) then
- loadstring(message)()
- print("Executing command "..message)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement