ISInterface:GetCurrentScript
Jump to navigation
Jump to search
Purpose
Retrieves the name of the currently executing script. Keep in mind that multiple scripts can be loaded and running, but internally, only one at a time is allowed to execute a portion. This is the one, if any, currently allowed to execute.
Usage
Parameters
none
Return Value
- char *
- Pointer to the name of the currently executing script, or 0.
Examples
if (char *ScriptName=pISInterface->GetCurrentScript()) printf("%s is currently executing",ScriptName);