Please help edit and correct my script - because I kept on getting an error
Line: 57 Position: 2 Code: 16 Error: An end of file is encountered in the script in the middle of a statement. Thanks for your help.
Here is the script:
/* This Script is for Key Accounts, calls via Meridian Mail menu (CDP 4807). Callers are Queued to the Key Accounts
skillset with Priority 2. */
IF (Out of Service Key_Accounts) THEN
ROUTE CALL 6795
END IF
IF (DAY OF WEEK=Monday..Friday) AND (TIME of Day=M_F_HoursA)
THEN EXECUTE Open_Skillset
END IF
EXECUTE Nite
SECTION Open_Skillset
IF NOT OUT OF SERVICE Key_Accounts THEN
QUEUE TO SKILLSET Key_Accounts WITH PRIORITY 2
WAIT 2
END IF
GIVE MUSIC Music_Source
IF NOT QUEUED THEN
ROUTE CALL 6795
END IF
SECTION Hold_In_Queue
WAIT Delay_IntervalA
IF NOT QUEUED THEN
ROUTE CALL 6795
END IF
IF Age of Call > 60 then
ROUTE CALL 6795
IF Idle Agent Count Key_Accounts < 1 AND Age of Call > 18 then
ROUTE CALL 6795
WAIT Delay_IntervalA
GIVE RAN Busy_Ran1
Delay_IntervalA ASSIGNED Delay_IntervalA + 10
Execute Hold_In_Queue
SECTION Nite
GIVE RAN Closed_Ran
DISCONNECT
Line: 57 Position: 2 Code: 16 Error: An end of file is encountered in the script in the middle of a statement. Thanks for your help.
Here is the script:
/* This Script is for Key Accounts, calls via Meridian Mail menu (CDP 4807). Callers are Queued to the Key Accounts
skillset with Priority 2. */
IF (Out of Service Key_Accounts) THEN
ROUTE CALL 6795
END IF
IF (DAY OF WEEK=Monday..Friday) AND (TIME of Day=M_F_HoursA)
THEN EXECUTE Open_Skillset
END IF
EXECUTE Nite
SECTION Open_Skillset
IF NOT OUT OF SERVICE Key_Accounts THEN
QUEUE TO SKILLSET Key_Accounts WITH PRIORITY 2
WAIT 2
END IF
GIVE MUSIC Music_Source
IF NOT QUEUED THEN
ROUTE CALL 6795
END IF
SECTION Hold_In_Queue
WAIT Delay_IntervalA
IF NOT QUEUED THEN
ROUTE CALL 6795
END IF
IF Age of Call > 60 then
ROUTE CALL 6795
IF Idle Agent Count Key_Accounts < 1 AND Age of Call > 18 then
ROUTE CALL 6795
WAIT Delay_IntervalA
GIVE RAN Busy_Ran1
Delay_IntervalA ASSIGNED Delay_IntervalA + 10
Execute Hold_In_Queue
SECTION Nite
GIVE RAN Closed_Ran
DISCONNECT