Pobierz otwarty kod źródłowy bota Libre ogólny wydanie i zainstaluj bota Libre na własny serwer
Self, AIML, and scripting : date and time script

RE: date and time script

w marcosnunes wysłany 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")}.");
}


Identyfikator: 14857915
Wysłany: Dec 7 2016, 11:53
Aktualizacja: Dec 7 2016, 14:49
Odpowiedzi: 0
Widok: 2078, dziś: 1, tydzień: 2, miesiąc: 9
0 0 0.0/5