MPCE

Mining Machine Control Computer Cycle (Lua)

May 23rd, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local tArgs = {...}
  2.  
  3. if tArgs[1] == nil then tArgs[1]=1 end
  4.  
  5. for i=1,tArgs[1] do
  6.  shell.run("MotorControl")
  7.  sleep(5)
  8.  shell.run("SendCommand")
  9.  print("Interation: "..i)
  10.  sleep(20)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment