« Back to Product

Documentation

IPS_RunScriptTextWait

 string IPS_RunScriptTextWait (string $ScriptText) 

Parameters

ScriptText

String that is executed as script

Returns

Result of the executed script

Description

The command starts a script with the content ScriptText and waits for the execution of the script to return its result. It is not necessary to state PHP tags.

Example

// Prints "Hello World" in the message view
echo IPS_RunScriptTextWait("echo 'Hello World';");
Any questions?