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.36 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. --Main
  13. smartDig(_length, _width, _height);
  14. --End Main
  15.  
  16. local function smartDig(l, w, h)
  17. while not _isDone do
  18. for a=1, l do
  19. print(a);
  20. _isDone = true;
  21. end
  22. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement