SAMPLE.SCR

999 B 7b3271397bee9ea8…
; This is a comment line
* this is also a comment line
' and so it this

CLEAR					; clear the screen
WAITTIME 20				; set time limit for WAITFOR command
ECHO OFF				; do not echo commands to local screen
BEEP					; make a beep
IFNOTCD goto end                        ; if not carrier detect goto label end
	WAITFOR "[y/n]"			; wait for this text (max of WAITTIME)
	SENDLN "Y"			; after text is found, send Y and a CR
	WAITFOR "Your FIRST name:"	; wait for this text
	SENDLN "BOB FERGUS Y BIGTOOL"	; send this response
	SENDLN " "			; send a space and CR
	SENDCTRL K			; send control-k
	WAITFOR "Press"			; wait for this text
	SENDLN " "			; send a space and CR
	WAITFOR "number"		; wait for this text
	SENDLN "Q"
	WAITFOR "mail"
	SENDLN "N"
	PAUSE 3				; pause for 3 seconds
	;SENDLN "U M"			; send this text to upload via megalink
	;PAUSE 3			; wait 3 seconds
	;XMIT -ML SAMPLE.SCR		; upload SAMPLE.SCR via megalink
:END					; a label
QUIT					; exit the script file