home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
comm
/
misc
/
avmnfax
/
source
/
answervoice.avmsrc
< prev
next >
Wrap
Text File
|
1994-06-24
|
6KB
|
269 lines
startrecord=true
label=
nodetype=7
filename=avm:rexx/stdhead.avm
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=introtype = getclip('AVMIntroductionType')
line2=if upper(introtype) = 'DAYOFWEEK' then
line3= intronumber = dayofweek2num()
line4=else if upper(introtype) = 'TIMEOFDAY' then
line5= intronumber = timeofday2num()
line6=else if upper(introtype) = 'RANDOM' then
line7= intronumber = random(1,7, time('s'))
line8=else if introtype = "" then
line9= intronumber = 1
line10=else intronumber = introtype
nextactiontype=2
nextactionaction=signal value 'avintro' || intronumber
endrecord=true
startrecord=true
label=answervoiceStart
nodetype=8
line1=parse arg servername faxscript datascript distinctivering 'CID$' acidname '$' acidnumber '$'
line2=call setclip(address() || 'FAXSCRIPT', faxscript)
line3=call setclip(address() || 'DATASCRIPT', datascript)
line4=call setclip(address() || 'CIDNAME', acidname)
line5=call setclip(address() || 'CIDNUMBER', acidnumber)
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=startup
nodetype=8
line1=
line2=simple = getclip('AVMSimpleAnsweringMachine')
line3=if upper(simple) = 'YES' then call simplestartup
line4=else call multistartup
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=2
nextactionaction=exit
endrecord=true
startrecord=true
label=answervoiceDone
nodetype=1
filename='avm:voices/Goodbye'
comment=Thanks for calling. Bye now!
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=0
erroractionaction=stderror
nextactiontype=2
nextactionaction=exit
endrecord=true
startrecord=true
label=
nodetype=7
filename=avm:rexx/stdtail.avm
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=7
filename=avm:rexx/startup.avm
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=7
filename=avm:rexx/simplestartup.avm
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=timeOfDay2num
nodetype=8
line1=currentHours = time('hours')
line2=if currentHours < 12 then ret = 1
line3=else if currentHours < 18 then ret = 2
line4=else ret = 3
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=2
nextactionaction=return ret
endrecord=true
startrecord=true
label=dayOfWeek2num
nodetype=8
line1=day = date('Weekday')
line2=if day = 'Monday' then ret = 1
line3=else if day = 'Tuesday' then ret = 2
line4=else if day = 'Wednesday' then ret = 3
line5=else if day = 'Thursday' then ret = 4
line6=else if day = 'Friday' then ret = 5
line7=else if day = 'Saturday' then ret = 6
line8=else ret = 7
line9=
line10=
nextactiontype=2
nextactionaction=return ret
endrecord=true
startrecord=true
label=avintro1
nodetype=1
filename='avm:voices/intro1'
comment=Monday voice message or good morning voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true
startrecord=true
label=avintro2
nodetype=1
filename='avm:voices/intro2'
comment=Tuesday voice message or good afternoon voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true
startrecord=true
label=avintro3
nodetype=1
filename='avm:voices/intro3'
comment=Wednesday voice message or good evening voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true
startrecord=true
label=avintro4
nodetype=1
filename='avm:voices/intro4'
comment=Thursday voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true
startrecord=true
label=avintro5
nodetype=1
filename='avm:voices/intro5'
comment=Friday voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true
startrecord=true
label=avintro6
nodetype=1
filename='avm:voices/intro6'
comment=Saturday voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true
startrecord=true
label=avintro7
nodetype=1
filename='avm:voices/intro7'
comment=Sunday voice message.
keyactiontype=3
keyactionaction=
faxactiontype=0
faxactionaction=stdfax
dataactiontype=0
dataactionaction=stddata
busyactiontype=0
busyactionaction=stdbusy
abortactiontype=0
abortactionaction=stdabort
erroractiontype=3
erroractionaction=
nextactiontype=0
nextactionaction=answervoiceStart
endrecord=true