INDEX_REQUEST
(edit this)
  • System usage: #define INDEX_REQUEST 596
  • Application usage: #define APP_INDEX_REQUEST -1596
  • Introduced in: 8.5b5
  • Processed by: memory card driver (_songbird)

Description: Requests that the disk driver provide a list of files matching the prefix provided. These filenames will be presented via the message 595 INDEX, and the contents of these files can then be requested via 594 FILE_REQUEST and received with 593 FILE_CONTENTS. Key parameter should be a unique handle generated with llGenerateKey(); see notes at 594 FILE_REQUEST for a similar example. It is not necessary (or encouraged) to use the same key for both retrieving files and indices, as requesting multiple files would end up using the same key.

Parameter format: String parameter: the prefix of the file's name you wish to return results for. For example, to get a list of available personas, use "p_". You can also search for a complete file name, in which case 595 will be sent twice if the file exists (containing the name, then EOF) or once if it does not (with EOF only). Key parameter: as above; see also 594 FILE_REQUEST.