SHOW:
|
|
- or go back to the newest paste.
| 1 | local f = require("filesystem")
| |
| 2 | if not f.exists("lib/api.lua") then
| |
| 3 | - | os.execute("pastebin get -f gqZ1Qdqi lib/api.lua")
|
| 3 | + | os.execute("pastebin get -f V1vy3uKM lib/api.lua")
|
| 4 | end | |
| 5 | local args = {...}
| |
| 6 | if #args < 2 or (type(tonumber(args[1]))~= "number") or (type(tonumber(args[2]))~= "number") then | |
| 7 | print("Использование mine <длина> <ширина>")
| |
| 8 | os.exit() | |
| 9 | else | |
| 10 | require("api").mine(tonumber(args[1]), tonumber(args[2]))
| |
| 11 | end |