
function statusUpdate()
w
By: a guest on
May 25th, 2012 | syntax:
Lua | size: 0.25 KB | hits: 18 | expires: Never
function statusUpdate()
while true do
print("You are confused.")
coroutine.yield()
end
end
local update = coroutine.create(statusUpdate)
coroutine.resume(update)
--[[
This would output "You are confused." once
]]--