; Afax:s/FwdLast ; Script to forward last fax received to site in variable FaxFwd (if set) ; D. Varley 26May93 ; ; To use, this script should be called from faa.scp ; ; SetEnv FaxFwd sitename ;to enable ; UnsetEnv FaxFwd ;to disable ; Copy Env:FaxFwd ENVARC: ;for setting to survive reboot ; if $FaxFwd NOT EQ *$FaxFwd Afax:S/SetLastFax if exists $LastFax RunBack Afax:c/afaxsend $FaxFwd $LastFax endif endif