$script_locn [CFG]

Set Infobox Ranges and the Directory to be Searched for Corresponding Infoboxes and Images

$script_locn first last directory|ibc [ibcname] [top]

This command is used to define the default directories in which script files (infoboxes), fax-on-demand image files, and voice description files may be found. Multiple commands are used to specify different folders for different ranges of filenames.

The commands are brought into use when a user profile is assigned to a channel, and the script and image locations defined by user profile $script_locn or $image_locn commands are incorporated into the search list.  See the linked topic for more information about the use of this command.

The parameters on this command are used as follows:

first defines the starting value of the range of numbers or names affected by this command.
last defines the ending value of the range of numbers or names affected by this command.  If you use Unicode infobox names, they may not be located if you use a range ending such as ZZZZZZZZ.  Either prefix Unicode names with an ASCII character, or select a suitable Unicode character as the upper limit of the range.
directory the name of the directory in which the files are to be found
ibc this keyword indicates that the infobox files in this range are embedded in an infobox collection (IBC) file with logical name ibcname.
ibcname the logical name of the IBC file containing the infoboxes for this range, as specified on the $load_ibc configuration command. This parameter is required when the ibc keyword is used instead of a directory name.
topthis keyword causes the specified location to be placed at the top of the search list, before any USR/UJP script/image locations are searched.  Without this keyword the specified location is searched after the USR/UJP script/image locations.

You may enter multiple $script_locn commands which cover the same range or intersecting ranges. There is no limit to the number of location definitions allowed. The sequence of commands is significant. CopiaFacts looks for an file in the directory corresponding to the first statement with a suitable range. If it finds no image there, it continues looking through the commands until it finds another match on range and directory.