PING: Difference between revisions

From Dark Signs Online
Jump to navigationJump to search
(Created page with "''int'' '''PING'''(''string'' server) Pings the specified server, returning 0 if the server doesn't exist and 1 if it does. == Parameters == ''server'' The server to ping. Can be an IP address or domain name. == Example == Check if the site that is given exists. <pre>$v = PING(1.1.1.1) WAIT FOR $v SAY Response : $v on IP 1.1.1.1</pre>")
 
(No difference)

Latest revision as of 06:09, 18 March 2024

int PING(string server)

Pings the specified server, returning 0 if the server doesn't exist and 1 if it does.

Parameters

server The server to ping. Can be an IP address or domain name.

Example

Check if the site that is given exists.

$v = PING(1.1.1.1)
WAIT FOR $v 
SAY Response : $v on IP 1.1.1.1