add script 'sms-action'

This commit is contained in:
Christian Hesse 2018-08-06 16:05:34 +02:00
parent c9c87cac41
commit a6d4e5eec8
2 changed files with 27 additions and 1 deletions

View file

@ -13,7 +13,7 @@
}
# forward SMS in a loop
:foreach sms in=[ / tool sms inbox find ] do={
:foreach sms in=[ / tool sms inbox find where message~"^([^:][^c][^m][^d][^ ])" ] do={
:local message [ / tool sms inbox get $sms message ];
:local phone [ / tool sms inbox get $sms phone ];
:local timestamp [ / tool sms inbox get $sms timestamp ];