Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("API/move")
- function listen()
- msg = 0
- while msg == 0 do
- id, msg = rednet.receive()
- end
- end
- if not move.myTab.home then
- move.goHome()
- end
- move.report("Idle")
- while true do
- listen()
- shell.run("execute "..msg)
- end
- sleep(5)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement