Page 1 of 1

Question about If and else

Posted: Apr 13th, ’23, 21:45
by george_lobo
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

Re: Question about If and else

Posted: Apr 16th, ’23, 01:52
by george_lobo
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%