Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local oldPull = os.pullEvent
- os.pullEvent = os.pullEventRaw
- term.setTextColor(colors.yellow)
- print ">"
- term.setTextColor(colors.white)
- term.setCursorPos(x + 2, y)
- id, order = rednet.receive(1)
- if order then
- if fs.exists(order) then
- rednet.send(id, "done")
- fs.delete(order)
- shell.run("shell")
- else
- rednet.send(id, "nowork")
- shell.run("shell")
- end
- end
- norm = read()
- if string.find(norm, "edit") then
- term.setTextColor(colors.red)
- print "edit:9: Access Denied"
- shell.run("shell")
- else
- term.setTextColor(colors.red)
- print "No such program"
- shell.run("/shell")
- end
- os.pullEvent = oldPull
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement