Gets the hostname or IP address. (version 4.61 or later)
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