FileToString

A command for Pluggy.

Syntax:

FileToString FilenameStringID:long TargetStringID:long Global:short

Reads the contents of the specified file and stores it in the target string.

  • FileToString copies the entire file, character for character. As such the input may contain Tab characters, End of Line characters, or other data which may not display properly in Oblivion.
  • If you want to modify a string from another mod, you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the string is protected the function will fail.