IOL. / NOL. - If Online

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Internet and Network >

IOL. / NOL. - If Online

IOL. / NOL. - If Online

Previous Top Next


MiniRobotLanguage (MRL)

 

IOL./ NOL.
If Online / If Not Online

 

clip0596

 

 

Intention

 

This command is used to test if the Computer is Online.

It has 3 Modes of Operation.

 

1. Test if ONLINE, hereby you do not give any Parameter.

 

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.

 

2. Test if you can connect to OPEN AI Services.

 
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.

 

3. Test if a Site is ONLINE. Hereby you do specify the Site-Address as Parameter.

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:

 

  Test_If_Online

  JIO. / JNO. - If Online