28 lines
605 B
Lua
28 lines
605 B
Lua
function wait(secs)
|
|
local previousUptime = os.clock();
|
|
local waitLoop = true
|
|
while waitLoop == true do
|
|
local currentUptime = os.clock();
|
|
if currentUptime > previousUptime + secs then
|
|
waitLoop = false
|
|
end
|
|
end
|
|
end
|
|
|
|
function closureLoop()
|
|
while true do
|
|
fakeLClosure();
|
|
wait(.1);
|
|
end
|
|
print("ERROR: CLOSURE LOOP DIED.")
|
|
end
|
|
|
|
coroutine.resume(coroutine.create(closureLoop))
|
|
|
|
function about()
|
|
print("CallieNaps New World v1.0")
|
|
print("The open Mac script executor.")
|
|
end
|
|
|
|
closureLoop();
|
|
about();
|