Get the full path to the current script file.
string GetScriptFilename
None.
A string containing the full path to the current script file.
n empty string is returned if the current script is not being executed from a script file, such as the case when a plugin executes a script via the zscript_Execute function.
echo <GetScriptFilename>
… the output of which is written to the event log by echo as:
C:\Users\Aaron\L3DT\Resources\All versions\Scripts\GetScriptFilename test.zs
None.