Upgrade to our commercial service Bot Libre for Business for only $4.99 per month
Self, AIML, and scripting : date and time script

RE: date and time script

by marcosnunes posted 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
Posted: Dec 7 2016, 11:53
Updated: Dec 7 2016, 14:49
Replies: 0
Views: 2086, today: 1, week: 4, month: 17
0 0 0.0/5