This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

push alarm
#3
You can use a resident script (sleep time = 0) to catch all alerts and forward them to any external service:
Code:
if not client then
  function alertcallback(source, text)
    log(source, text)
  end

  client = require('localbus').new()
  client:sethandler('alert', alertcallback)
end

client:step()
Reply


Messages In This Thread
push alarm - by Frank68 - 05.02.2021, 08:28
RE: push alarm - by Daniel - 05.02.2021, 08:32
RE: push alarm - by Frank68 - 05.02.2021, 09:26
RE: push alarm - by admin - 05.02.2021, 08:36
RE: push alarm - by Daniel - 05.02.2021, 09:29
RE: push alarm - by Frank68 - 09.02.2021, 13:50

Forum Jump: