Gets the hostname.
gethostname <strvar>
Retrieves the connecting hostname of Tera Term and stores it in the string variable <strvar>.
testlink if result > 0 then gethostname hostname messagebox hostname result end if