Junte o Bot Libre open source projeto BotLibre.org
Self, AIML, and scripting : date and time script

RE: date and time script

por marcosnunes postado Dec 7 2016, 11:53

I could fix it with this edition on TimeAndDate bot script file

state timeState {
case #is goto timeState;
case #it goto timeState;
case #what goto timeState;
case "right" goto timeState;
case "now" goto timeState;
case "in" goto timeInState;
case punctuation goto timeState;

answer Template("The time is {Date.setTimeZone(Date.time(), "GTM-3")}.");
}


Id: 14857915
Postado: Dec 7 2016, 11:53
Atualizado: Dec 7 2016, 14:49
Respostas: 0
Pontos de vista: 2082, hoje: 1, semana: 6, mês: 13
0 0 0.0/5