Messages to be played by script items are saved in wave files. These are stored in a directory on the computer running the IVR survey. They are referred to within a script item by keywords. The recordings are identified within an item by means of a keyword. Alternatively, if the keyword is set to SILENT then no recording is played.
Several items can share a single keyword and several keywords can be used in one item. For example, the recorded message
``Thank you.''is commonly used. It may be assigned a keyword such as THANKS. An example of such an item is shown in Figure 29. Although items can share keywords, the keywords themselves should be uniquely associated with individual voice recordings.
If the keyword is left blank then the item's name is used as the keyword. This is this most common situation. A blank keyword results will cause the compiler to add a keyword of the same name as the item to PHRASES. An example of such an item is shown in Figure 30.
``...message will repeat ^_NRPT_^ times. ``results in a spoken message such as this:
``...message will repeat 3 times.``Other options set in this example cause the item to repeat three times with a 10 second delay if no key presses are detected.
The keyword expression is: HALLO_C|F,^_NRPT_^,TIMES|F. It has three parts separated by commas. The first part HALLO_C|F and third part TIMES|F are a single keywords. The |F indicates that they refer to file recordings. The second part ^_NRPT_^ lacks a |F because it does not refer to a voice recording. Instead, it is a system quote that plays the number of times an item's recording has been repeated.