Operating system for OpenComputers
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- _G.clip = ""
-
- function start()
- return os.spawn(function()
- local lc
- while true do
- local eT = {coroutine.yield()}
- if eT[1] == "clipboard" then
- if computer.uptime() > lc + 5 then
- _G.clip = ""
- end
- lc = computer.uptime()
- _G.clip = _G.clip .. eT[3]
- end
- end
- end)
- end
|