(4.0k) Many add-ons are used again and again with the same set of PControl settings. To simplify setup, you can write these PControl settings in a separate file, and refer to that file from the PControl section.

Addon = filename

PHost will look for that file in both the game and the root directory, so you can use the same file for many games. PHost will look for a %pcontrol section delimiter and read just that section. Therefore, if the add-on understands these section delimiters, you can directly place the instructions in the add-on configuration file.

Example: Here is an example to use with the Stargate add-on:

% pcontrol
TowResolution = Execute *stargate 1 %d %r
SensorSweep   = Execute *stargate 2 %d %r

You would refer to that file by using Addon = stargate.txt (unfortunately, Stargate doesn't support % section delimiters).