westsidedeuce
Programmer
I want to change the time and day on a script to accommodate a customers request :
current :
IF DAY OF WEEK = day_weekday THEN
IF NOT TIME OF DAY = time_hours_mon_fri
execute After_hours
END IF
ELSE
IF NOT TIME OF DAY = time_hours_sat_sun THEN
execute After_hours
END IF
day _weekend is a script variable for weekdays mon-fri
and time_hours is for the time 7am-11pm
They want to open @ 700 am friday (today ) and close sat morning @1am -open again on sat @ 7am cloe at 1 am sun
Do I have to write a new script for this action - or just create a tag like the following :
IF DATE = day_fri THEN
IF NOT TIME OF DAY = time_hours_fri
execute After_hours
END IF
ELSE
IF NOT TIME OF DAY = time_hours_sat THEN
execute After_hours
? ?
Please forgive me _I'm very new at scripting -using merl mail - miran and symposium 4.5
Josephine Vigil
Henderson, Nevada USA
current :
IF DAY OF WEEK = day_weekday THEN
IF NOT TIME OF DAY = time_hours_mon_fri
execute After_hours
END IF
ELSE
IF NOT TIME OF DAY = time_hours_sat_sun THEN
execute After_hours
END IF
day _weekend is a script variable for weekdays mon-fri
and time_hours is for the time 7am-11pm
They want to open @ 700 am friday (today ) and close sat morning @1am -open again on sat @ 7am cloe at 1 am sun
Do I have to write a new script for this action - or just create a tag like the following :
IF DATE = day_fri THEN
IF NOT TIME OF DAY = time_hours_fri
execute After_hours
END IF
ELSE
IF NOT TIME OF DAY = time_hours_sat THEN
execute After_hours
? ?
Please forgive me _I'm very new at scripting -using merl mail - miran and symposium 4.5
Josephine Vigil
Henderson, Nevada USA