Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. --Declare Variables
  2. local args = {...};
  3.  
  4. local _side = args[1];
  5. local _length = args[2];
  6. local _width = args[3];
  7. local _height = args[4];
  8.  
  9. local _isDone = false;
  10. --End Variables
  11.  
  12. local function SmartDig(l, w, h)
  13. while not _isDone do
  14. for a=1, l do
  15. print("Length: "..a);
  16. for b=1, w do
  17. print("Width: "..b);
  18. _isDone = true;
  19. end
  20. end
  21. end
  22. end
  23.  
  24. --Main
  25. SmartDig(_length, _width, _height);
  26. --End Main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement