24 lines
565 B
Lua
24 lines
565 B
Lua
require("oct_utils")
|
|
|
|
function emit_message(arg)
|
|
OCT_LOG_INFO("EMIT_MESSAGE_CALLED!")
|
|
oct_timer_register("emit_message_timer", 500, "emit_message", "")
|
|
end
|
|
|
|
function emit_message2(arg)
|
|
OCT_LOG_INFO("EMIT_MESSAGE2 CALLED!")
|
|
oct_timer_register("emit_message_timer2", 100, "emit_message2", "")
|
|
end
|
|
|
|
|
|
function oct_init()
|
|
oct_timer_register("emit_message_timer", 500, "emit_message", "")
|
|
oct_timer_register("emit_message_timer2", 100, "emit_message2", "")
|
|
return OCT_NOT_NEEDS_NETWORKING, OCT_NOT_NEEDS_TERMBOX;
|
|
end
|
|
|
|
function oct_loop(key)
|
|
|
|
end
|
|
|