Definitions for "SENDWAIT"
SENDWAIT value string exp, string exp GOTO label Combines a SEND command with a WAIT command. e.g. SENDWAIT 60 "Anton" , "Password:" GOTO nopass GOTO pass does exactly the same as SEND "Anton" WAIT 60 "Password:" GOTO pass GOTO nopass… i.e. the Series· 5 sends "Anton", then waits for 30 seconds (60 half-seconds) for the remote machine to send "Password:". If "Password:" is received, the script jumps to the ‘pass' label. If "Password:" is not received, the script moves on to the next command (' GOTO nopass'). The script only follows the GOTO command after "Password:" if "Password:" isn't received.