![Teltone TLE-A-01 User Manual Download Page 54](http://html.mh-extra.com/html/teltone/tle-a-01/tle-a-01_user-manual_1084654054.webp)
Script Examples
52
40-400-00025, Rev. D
:0,TS_ENDDEF
;start of script 3
:0,TS_STARTDEF,3
;wait for off-hook on line 3
:0,TS_WAITOFFHOOK,TP_LINE3
;play audio message 2 on line 3
:0,TS_EXECUTE,TC_PLAYMESSAGE,2,TP_LINE3
;wait for on-hook on line 3
:0,TS_WAITONHOOK,TP_LINE3
;end of script
:0,TS_ENDDEF
;start script 4
:0,TS_STARTDEF,4
;wait for off-hook on line 4
:0,TS_WAITOFFHOOK,TP_LINE4
;play audio message 3 on line 4
:0,TS_EXECUTE,TC_PLAYMESSAGE,3,TP_LINE4
;wait for on-hook on line 4
:0,TS_WAITONHOOK,TP_LINE4
;end of script
:0,TS_ENDDEF
;start the 4 scripts
:0,TS_SCRIPTRUN,TP_ENABLE
Note that in dual or quad script modes all scripts are enabled or disabled together; that is, all scripts must be
running or all scripts must be inactive.