mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-14 08:50:00 -05:00
12 lines
215 B
Lua
12 lines
215 B
Lua
|
local lc = computer.uptime()
|
||
|
_G.clip = ""
|
||
|
while true do
|
||
|
local eT = {coroutine.yield()}
|
||
|
if eT[1] == "clipboard" then
|
||
|
if computer.uptime() > lc + 5 then
|
||
|
_G.clip = ""
|
||
|
end
|
||
|
_G.clip = _G.clip .. eT[3]
|
||
|
end
|
||
|
end
|