Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor(colors.white)
- term.clear()
- local printer = peripheral.find("printer3d")
- if not printer then
- lUtils.popup("Error","No printer found.",27,9,{"Quit"})
- return
- end
- filename = lUtils.explorer("User/Models","SelFile false")
- if not filename then return end
- a = {lUtils.inputbox("Printer","How many instances do you want to print?",29,11,{"Done"})}
- if a[1] == nil or a[1] == "" or tonumber(a[1]) == nil then return end
- term.setBackgroundColor(colors.white)
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.black)
- shell.run("print3d "..filename.." "..a[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement