Gets the hostname or IP address.
gethostname <strvar>
Retrieves the destination hostname or IP address of Tera Term and stores it in the string variable <strvar>.
testlink if result > 1 then gethostname hostname messagebox hostname result endif