@IPADDRESS[hostname]: Returns the numeric IP address for the specified hostname. The result is displayed in the standard format nnn.nnn.nnn.nnn. An invalid or unknown hostname will return an error (see @ERRTEXT to decipher the error number if necessary).

See also @IPNAME.

Example:

echo %@ipaddress[jpsoft.com]

141.101.124.120