@Leon Kennedy:
"RUNFPI=X"
"RUNDEFAULTFPI=X"
Are the commands you're looking for.
As for accomplishing:
Quote: "individual functions instead of 1 large script to handle everything."
Sadly, the new script has no idea what the previous script was and so, you'll need to use another "RUNFPI" type command with a hardcoded script given to it.
On the other hand, Ply's Mod does have:
"RETURN"
Which will execute the LAST script given to the entity.
Example:
Entity is running "shootbadguy.fpi", but in that script, it uses "RUNFPI=scriptbank\runaway.fpi". If the runaway.fpi script uses "RETURN", it will go back to using the shootbadguy.fpi script.
The one and only,
Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.