Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. teststring = "A,B,C,D,d1, " -- plik
  2.  
  3. for i in string.gmatch(teststring,"%x+") do
  4. if i == "D2" then
  5. rednet.send(36,"")
  6. sleep(0.4)
  7. elseif i== "g1" then
  8. rednet.send(36,"")
  9. sleep(0.2)
  10. elseif i== "a1" then
  11. rednet.send(36,"")
  12. sleep(0.2)
  13. elseif i== "a2" then
  14. rednet.send(36,"")
  15. sleep(0.2)
  16. elseif i== "b1" then
  17. rednet.send(36,"")
  18. sleep(0.2)
  19. elseif i== "c1" then
  20. rednet.send(36,"")
  21. sleep(0.2)
  22. elseif i== "d1" then
  23. rednet.send(36,"")
  24. sleep(0.2)
  25. --elseif
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement