Operating system for OpenComputers
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
309B

  1. _G.clip = ""
  2. function start()
  3. return os.spawn(function()
  4. local lc
  5. while true do
  6. local eT = {coroutine.yield()}
  7. if eT[1] == "clipboard" then
  8. if computer.uptime() > lc + 5 then
  9. _G.clip = ""
  10. end
  11. lc = computer.uptime()
  12. _G.clip = _G.clip .. eT[3]
  13. end
  14. end
  15. end)
  16. end