PING

From Dark Signs Online
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