Advertisement
Ezteyh

wifimode

Jun 14th, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while(1) do
  4. id, msg, distance = rednet.receive()
  5. print(msg)
  6.  
  7.  if msg == "exit" then
  8.   break
  9.  end
  10.  shell.run(msg)
  11.  
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement