Question about If and else

Discussion, questions and support.
Post Reply
User avatar
george_lobo
Posts: 14
Joined: Apr 10th, ’21, 05:18
Location: Ciudad de México

Post by george_lobo » Apr 13th, ’23, 21:45

Hello, following the example of the last video on Youtube, I would like to use the IF ELSE depending on the time, but with 3 options,

For good morning, good afternoon and good night

How can I do it?

I have tried writing 3 IF but it has not worked.

Code: Select all

%DATETIME_hora%
%IF_manana%
Gracias, buenos días.
%IF_tarde%
Gracias, buenas tardes.
 %IF_noche%
Gracias, buenas noches.
%END%
Image
crear wikipedia gratis

Image
crear wikipedia gratis

Image
crear wikipedia gratis

Image
crear wikipedia gratis

Image
crear wikipedia gratis

What am I doing wrong? I hope you can help me, thanks in advance
Jorge Aguero Lobo
User avatar
george_lobo
Posts: 14
Joined: Apr 10th, ’21, 05:18
Location: Ciudad de México

Post by george_lobo » Apr 16th, ’23, 01:52

Ohhh, thanks perfectrecall, works great::

Code: Select all

%IF_manana%Gracias, buenos días.%END%%IF_tarde%Gracias, buenas tardes.%END%%IF_noche%Gracias, buenas noches.%END%
Jorge Aguero Lobo
Post Reply