Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not fs.exists(shell.resolve("blittle")) then shell.run("/rom/programs/http/pastebin get ujchRSnU blittle") end
- local args = {...}
- if #args < 1 then
- printError("Usage: "..shell.getRunningProgram().." <filename>")
- return
- end
- local fn = args[1]
- local bimg = {}
- if fs.exists(fn) then
- local handle = fs.open(fn,"r")
- bimg = textutils.unserialize(handle.readAll())
- handle.close()
- else
- bimg = {width=1,height=1,[1]={" "},[2]={"f"},[3]={"f"}}
- end
- local transpChar = "\127"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement