Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local nArgs = (...)
- local image1 = fs.open("image1",'w')
- image1.write([[]])
- image1.close()
- local image2 = fs.open("image2",'w')
- image2.write([[]])
- image2.close()
- local image3 = fs.open("image3",'w')
- image3.write([[]])
- image3.close()
- local image4 = fs.open("image4",'w')
- image4.write([[]])
- image4.close()
- image = {}
- for i = 1,4 do
- image[i] = paintutils.loadImage("image"..tostring(i))
- end
- --image[1] = paintutils.loadImage("image1")
- local mon = peripheral.find("monitor")
- mon.setTextScale(.5)
- term.redirect(mon)
- paintutils.drawImage(image[tonumber(nArgs)],1,1)
- term.redirect(term.native())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement