MessageInfo displays an informational message to the user. How this message is displayed depends on what application is executing the script.

If executed under Statelake, this message will show to screen - the processing will pause waiting for the user to click OK to the message before processing further.

If executed under Statelake Service, the message will be written to the Windows Event Viewer.

Declaration: Procedure MessageInfo( AMessage : string)

A simple script to try.

procedure ScriptEvent (var Value : variant);
begin
MessageInfo('This is a moving vehicle. Please keep your arms inside at all times.');
end;

This script produces the following.

image-20240109-235918.png