<< Click to Display Table of Contents >> Navigation: 3. Script Language > Internet and Network > IOL. / NOL. - If Online |
MiniRobotLanguage (MRL)
IOL./ NOL.
If Online / If Not Online
Intention
This command is used to test if the Computer is Online.
It has 3 Modes of Operation.
In this variant we test the connectivity if ANY of the following sites can be reached, if so we are ONLINE.
Test URL 1="http://www.w3.org"
Test URL 2="http://www.google.com"
Test URL 3="http://www.bing.com"
IOL.
MBX.You are ONLINE
ELS.
MBX.You are NOT ONLINE
EIF.
Hereby only the connection to: "https://api.openai.com" is checked.
IOL.OAI
MBX.You can reach out to Open AI.
ELS.
MBX.You can not reach out to Open AI.
EIF.
IOL.http://www.smart-package.com
MBX.Your SPR-Site is ONLINE
ELS.
MBX.Your SPR-Site is OFFLINE
EIF.
Syntax
IOL.[P1]
NOL.[P1]
Parameter Explanation
P1 - Can be omitted, or can be "OAI" or can be a "http://"-Address of your choice, that should be tested.
Example
'*****************************************************
' EXAMPLE 1: IOA.
'*****************************************************
IOL.http://www.smart-package.com
MBX.Your SPR-Site is ONLINE
ELS.
MBX.Your SPR-Site is OFFLINE
EIF.
Remarks
This Command has not been tested with Proxy Servers.
Limitations:
-
See also: