phildelt178

Lurker
May 19, 2011
3
0
5
I just downloaded tasker and have been messing around with the ridiculous amounts of features but don't really know how to auto reply. I made a widget called sleeping and i want my phone to auto reply back to someone that has texted me while the widget is active. Basically, I dont know how to tell tasker to auto reply to a variable phone number :thinking:
 
so far i've got

the widget:
name: %WIDGET
value: 1
wrap: 2
this means it starts at zero, adds 1 every time clicked, and returns to 0 when it reaches 2

first context:
variable set: %WIDGET
value: 1
(when the widget equals 1)

second context:
unread text


i think here is where im going to have to make adjustments:
task:
send sms
to the number: ????
with the text: bla bla bla whatever bla
 
I just downloaded tasker and have been messing around with the ridiculous amounts of features but don't really know how to auto reply. I made a widget called sleeping and i want my phone to auto reply back to someone that has texted me while the widget is active. Basically, I dont know how to tell tasker to auto reply to a variable phone number :thinking:

Hm, mine might be a little complex but this is my setup for nighttime:
Code:
Context 1: (widget)
if %NIGHT is set
     Wifi set on
     variable clear %LAST
     variable clear %NIGHT
     silent mode off
     say "Good morning!"
     mobile data ON
     stop
end if
****the below will run if %NIGHT is not set, and hence will ACTIVATE %NIGHT****
Silent mode off
variable set %NIGHT to 1
variable set %LAST to 1
say "Goodnight!"
silent mode ON
media volume 0
mobile data OFF
wifi OFF

Context 2: NightSMS
Event->received text
variable value -> %NIGHT = 1
if %SMSRF > 100000000 (to make sure that facebook notifications don't receive an autoreply)
     if %SMSRF != %LAST (so it only sends to that # once if he texts 5 times in a row)
          variable set %LAST = %SMSRF
          Send SMS, number=%SMSRF, message="sleeping! I'll reply when I'm up!"
     end if
end if

Context 3: NightCALL
event->phone ringing
variable value->%NIGHT = 1
end call
Basically it looks more complicated than it is, and i've slowly built it up to that, before it was a lot simpler, but a lot more annoying for people texting me lol.