Logic Machine Forum
Allert manager message REACTOR - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: Allert manager message REACTOR (/showthread.php?tid=3345)



Allert manager message REACTOR - Frank68 - 06.05.2021

Hello

I use the alert manager on a LM REACTOR, and the messages from the mobile operator are also displayed in the alerts, how can I avoid this?

Thank you


RE: Allert manager message REACTOR - admin - 06.05.2021

Edit SMS resident script and add -- before alert() calls.


RE: Allert manager message REACTOR - Frank68 - 06.05.2021

(06.05.2021, 06:41)admin Wrote: Edit SMS resident script and add -- before alert() calls.
I not have this entry but this

Code:
  handler = function(sms)
    --alert('incoming sms: [%s] %s', tostring(sms.sender), tostring(sms.data))
    -- sms from known number, call parser
    if table.contains(numbers, sms.sender) then
      parser(sms.data, sms.sender)
    end


I comment this ?


RE: Allert manager message REACTOR - admin - 06.05.2021

Yes


RE: Allert manager message REACTOR - Frank68 - 06.05.2021

(06.05.2021, 06:53)admin Wrote: Yes

thank so much


RE: Allert manager message REACTOR - admin - 06.05.2021

Don't forget to restart the script via Disable/Enable. Otherwise these changes won't be applied.