How to limit Tasker auto SMS reply?

508 views
Skip to first unread message

Chathuranga

unread,
Dec 31, 2013, 2:27:13 PM12/31/13
to tas...@googlegroups.com
I have successfully created a tasker profile and task to automatically reply SMS. I want to send only one auto SMS to the sender (if he/she sends multiple text). How do I do it?

Thanks!

IconBoy

unread,
Dec 31, 2013, 4:53:00 PM12/31/13
to tas...@googlegroups.com
Try:
If %LASTSMS !~ *%SMSRF*
Add variable
%SMSCOUNT
Value: 1
Send SMS
Number: %SMSRF
Variable Set
%LASTSMS to %SMSRF,
Endif

Note the * on both ends of %SMSRF on first line. Also, the , on the end of the second last line.
Hope this helps.

UncleMike

unread,
Dec 31, 2013, 5:00:44 PM12/31/13
to tas...@googlegroups.com
I would do something like this:
  1. as each sms is received, look for the sender's number in an array variable - i.e. %SMSRF ~R %ARRAY()
  2. if the number is found, then end the task, else
  3. reply to the sms as you do now
  4. push the sender's number into the array
At some point you have to decide that you want to clear the array and start auto replying to previous senders again.

Bubba

unread,
Jan 1, 2014, 10:03:23 AM1/1/14
to tas...@googlegroups.com
You could also change the cool down time in the task properties if you are trying to make it only send one message for a duration. Ie, if someone sends you ten messages in a hour, you only reply to the first. An hour later they can send again for new message.

BadKarma0007

unread,
Apr 23, 2015, 6:58:59 PM4/23/15
to tas...@googlegroups.com
IconBoy - I hope you're still around to read this question but your response intrigues me. I just recently started playing with Tasker and i've run into this issue with SMS receiving and sending are going into a loop because of things like the bank or state wide notifications I get. Based on when you originally post your response and based on the newer version(s) of Tasker, does your suggestion still hold true?

Also how would I do it? I've been looking into all the available profile(s) or contexts (not sure which term is correct) but can't figure it out yet. hope you're around to help or if anyone else knows I would greatly appreciate it.

TIA,
Reply all
Reply to author
Forward
0 new messages