TEXT
Intenta no conducir demasiado rápido.
¿Puedo recomendar el modo deportivo?
Conduce con cuidado.
No olvides activar el modo ecológico, ¡el combustible es caro!

Text
TEXT
Split
Text
by
New Lines

Split Text
SCRIPTING
Get
Random Item
from
Split Text

Item from List
VARIABLES
Set variable
Generic Quip
to
Item from List
COMMENT
Choose a random quip from the defined list and set it as a variable.
DATE
Current Date

Date
LOCATION
Get current location

Current Location
LOCATION
Get current weather at
Current Location

Weather Conditions
NUMBER
Estado del clima

Number
MATHS
Round
Temperatura
to
Ones Place

Rounded Number
VARIABLES
Set variable
Current Temperature
to
Número redondeado
NUMBER
Estado del clima

Number
MATHS
Round
Temperatura
to
Ones Place

Rounded Number
VARIABLES
Set variable
Maxima
to
Número redondeado
COMMENT
Get the weather at current location, format the temperature as a number, round it to the ones place, and set it as a variable.
SCRIPTING
Get battery level

Battery Level
NUMBER
Battery Level

Number
MATHS
Round
Number
to
Ones Place

Rounded Number
VARIABLES
Set variable
Battery Percent
to
Rounded Number
COMMENT
Get current battery level, format as a number, round to the tens place, and set it as a variable.
NUMBER
Fecha

Number
COMMENT
Gets the current time and formats it as 24-hour time with no colon.
SCRIPTING
If
Current Time (Hmm)
is between
0
and
1200
TEXT
Buenos días

Text
VARIABLES
Set variable
Greeting
to
Text
SCRIPTING
Otherwise
SCRIPTING
If
Current Time (Hmm)
is between
1201
and
2000
TEXT
Buenas tardes

Text
VARIABLES
Set variable
Greeting
to
Text
SCRIPTING
Otherwise
SCRIPTING
If
Current Time (Hmm)
is between
2001
and
2359
TEXT
Buenas noches

Text
VARIABLES
Set variable
Greeting
to
Text
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
If
Current Temperature
is less than
10
TEXT
He encendido la calefaccion de tu asiento y volante.

Text
VARIABLES
Set variable
Weather Quip
to
Text
SCRIPTING
Otherwise
TEXT
Text

Text
VARIABLES
Set variable
Weather Quip
to
Text
SCRIPTING
End If

If Result

Text
VARIABLES
Set variable
Generic Speech
to
Text
COMMENT
Create a variable for generic speech to speak when other set conditions are not met.
NUMBER
Fecha

Number
COMMENT
Get the current day of the week and format it as a number between 1 and 7, where 1 is Monday and 7 is Sunday.
SCRIPTING
If
Day # in week
is less than
6
SCRIPTING
If
Current Time (Hmm)
is between
600
and
800
SCRIPTING
If
Ubicación actual
contains
Home city name
MAPS
Get
Driving
time from
Current Location
to
Tronador

Travel Time
MAPS
Show
Driving
directions to
Destination
DOCUMENTS
COMMENT
If the current day of the week is a weekday, the current time is between 6 AM and 8 AM, and the current city is <home city>, assume I am leaving for work from home. Get driving directions and speak a greeting.
SCRIPTING
Otherwise
DOCUMENTS
Speak
Generic Speech
Language
Spanish (Mexico)
COMMENT
If the current day is a weekday and the current time is between 6AM and 8 AM, but the city is not <home city>, speak a greeting.
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
SCRIPTING
If
Current Time (Hmm)
is between
1400
and
1800
SCRIPTING
If
Ubicación actual
contains
<work city>
MAPS
Get
Driving
time from
Current Location
to
Las Vegas

Travel Time
MAPS
Show
Driving
directions to
Destination
MESSAGES
Send "
On my way home, see you in
Travel Time
!
" to
Recipients
DOCUMENTS
COMMENT
If the current day of the week is a weekday, the current time is between 2 PM and 6 PM, and the current city is <work city>, assume I am leaving for home from work. Get driving directions, and speak a greeting, and tell <wife> I’m on my way with my travel time.
SCRIPTING
Otherwise
DOCUMENTS
Speak
Generic Speech
Language
Spanish (Mexico)
COMMENT
If the current day is a weekday and the current time is between 2 PM and 6 PM, but the city is not <work city>, speak a greeting.
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
DOCUMENTS
Speak
Generic Speech
Language
Spanish (Mexico)
COMMENT
If the current day of the week is a weekday and the current time isn’t between those already specified, then speak a greeting.
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
DOCUMENTS
Speak
Generic Speech
Language
Spanish (Mexico)
COMMENT
If the current day of the week isn’t a weekday, then speak a greeting.
SCRIPTING
End If

If Result
NUMBER
Estado del clima

Number
NUMBER
Estado del clima

Number