Documentation
IPS_RunScriptWait
string IPS_RunScriptWait (int $ScriptID)
Parameters
| ScriptID | Unique ID of the script |
Returns
Result of the executed script
Description
The function starts the script with the ID ScriptID and waits for the end of the script execution to return its result. The notes described for IPS_RunScript apply here as well.
Example
echo IPS_RunScriptWait(12345 /*[Script A]*/);