PING

From Dark Signs Online
Revision as of 05:09, 18 March 2024 by Doridian (talk | contribs) (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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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