Community discussions

MikroTik App
 
runbound
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Fri Apr 19, 2013 9:28 am

how to pick

Sun Oct 24, 2021 1:47 pm

pls help
Last edited by runbound on Mon Oct 25, 2021 6:21 pm, edited 12 times in total.
 
sutrus
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Fri Jun 30, 2017 11:27 pm

Re: how this possible

Sun Oct 24, 2021 3:21 pm

Possible what? Search sms for text?
Can you be more specific?

Maybe something like this
/tool sms {
  :foreach msg in=[inbox find] do={
    :if ([inbox get $msg message]~"regexp") do={
      :local senderNumber [inbox get $msg phone]
      ....
    }
    inbox remove $msg
  }
}

Who is online

Users browsing this forum: turiks33 and 26 guests