send Random SMS messages

274 views
Skip to first unread message

lostmedic

unread,
Dec 7, 2011, 1:27:20 AM12/7/11
to Tasker
I use the "Pill" downloadable profile. I would like to send a
"random" sms message with it. I can set up 5 or so sms messages, and
let it randomly send one, when it randomly does that? right?

Matthieu Berthomé

unread,
Dec 7, 2011, 5:13:01 AM12/7/11
to tas...@googlegroups.com
To get a "random" result you can use  the "Variable Randomize" action, and arrays:

VariableRandomize %index, min 1 max 5
Variable Set %smsarray To [text of the message 1;text of the message 2;text of the message 3;text of the message 4;text of the message 5 ]
Variable Split %smsarray , Separator ;
Variable Set message To %smsarray(%index)
Send SMS with the text %smsarray(%index)

Hope it helps !
Cheers

Morgan Young

unread,
Jul 8, 2014, 5:14:17 PM7/8/14
to tas...@googlegroups.com
Thanks.

Saad Thahim

unread,
Jul 8, 2014, 10:32:30 PM7/8/14
to tas...@googlegroups.com
You can also let tasker read a random line from a text file.
Reply all
Reply to author
Forward
0 new messages