blob: 23eab94ea32a65a72502d7220b22d363f179d6a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local function sleep(n)
local t0 = os.clock()
while os.clock() - t0 <= n do end
end
local function printer()
while true do
send_message("Hello, World!", "#warroom")
sleep(5)
end
end
printer()
|