home *** CD-ROM | disk | FTP | other *** search
- \\ Wildcat system
-
- \\ The first part of this script is for setting variables, and calling
- \\ different blocks contained in the script. \BL block calls
- \\ Currently the script is set to log you on. If you remove the \\
- \\ slashes from the begining of the \bl commands it would enter the TCat
- \\ door ( Number of the door is set with \SV2[]) and get mail.
-
- \TO[40] \\ sets WaitFor timeout to 40 seconds
- |logon
- \ld+ \\ log to disk set to on.
- \pa[3]
- \wp[2]
- \sv1[shopper.rep]
- \SV2[1] \\ enter Mail door number [#]
- \sv4[shopper.qwk] \\ enter massage .QWk filename [#]
- \svb[10]\svt[0]
- \BL[NAME]\dm[Starting to log name onto %SN]
- \BL[QUEST]\dm[Starting Quest block] ║ ║
- \\bl[tcmaildn]\dm[Starting to do Mail Dnload]
- \\BL[Logoff]\dm[Getting ready to logoff]
- \eb
-
- |name
- \wp[1] \DM[Connected to %SN ]
- \if+-Pause- "[C"]ontinue[{\gb[name]]
- \if+onStop:[\gb[name]]
- \IF+First[\! \@{\gb[name]]
- \iF+Are you[{\gb[name]]
- \iF+please try again.[\#~{~\eb]
- \IF+Password[\#~{~~\svt[0]\eb]
- \+vt[1]
- \ivt-5[\pa[1]\gb[name]]
- \ivt+5[\svt[0]\pa[1]{\gb[name]] \\ this line responds enter
- \eb
-
- |quest
- \DM[ running quest block] \\ this is a looping block.
- \if+Enter bulletin [{\gb[quest]]
- \\IF+Enter door number[%V2{\eb]
- \IF+BIRTH DATE[09-08-54{\gb[quest]] \\ enter date of birth here
- \IF+VOICE [\ma[68]\gb[quest]]\\phone number here
- \IF+Correct "[Y/n"][y{\gb[quest]]
- \\if+Enter door number "[1..9"][9{\eb]
- \if+"[C"]ontinue, "[N"]onStop, "[S"]top[S{\gb[quest]]
- \if+-Pause- "[C"]ontinue, "[N"]onStop, "[S"]top[S{\gb[quest]]
- \if+"[S"]top[S{\gb[quest]]
- \IF+"[ENTER"] to quit:[{\gb[quest]]
- \IF+to view it "[Y/n"[n{\gb[quest]]
- \IF+"[ENTER"] to continue[{\gb[quest]]
- \IF+Command [\pa[2]d{\eb] \\[quest]] \\ modify if not getting mail
- \IF+MAIN MENU [~~~\pa[2]m{\eb ] \\ modify if not getting mail
- \IF+COMMAND >>? [ ]\pa[2]m{\eb ] \\ modify if not getting mail
- \if+onStop:[{\gb[quest]
- \if+like to view it"[Y/n"][n{\gb[quest]]
- \if+to Quit[{\gb[quest]
- \if+Would you like to view it"[Y/n"][n{\gb[quest]]
- \iF+continue.[C{\gb[quest]]
- \if+Door [%V2{\eb]
- \+vt[1]
- \ivT-5[\pa[2]\gb[quest]]
- \ivt+5[\svt[0]~~~\pa[2]{\gb[quest]] \\ this line responds enter
- \\ and continues with script.
-
- |mail
- \IF+Enter door number[%V2{\eb]
- \\WF[ Q L Y S U D N G H ? T"]:]d{
- \WF[ menu, "[ENTER"] to Quit]%V2{
- \eb
-
-
-
- \FE+%U:%V1[\bl[tcmailup]]]\dm[Starting to do Mail Upload]
- \bl[tcmaildn]\dm[Starting to do Mail Dnload]
- |tcmailup
- \WF[MENU]]u{
- \wf[B01]\ulZ[%V1]
- \it+[\dc-[copy %u:%v1 %U:1%V1]]
- \IT+[\DC-[del %U:%V1]]
- \eb
-
- |tcmaildn
- \WF[MESSAGE MENU:]o{
- \to[95]\wp[4]
- \IF+TOMCAT MENU[D{ \pa[2] ]
- \IF+PROTOCOL MENU[Z{ \pa[2] ]
- \WF[G"]oodbye]Y{
- \sc[script;renfile]
- \dc-[copy %d:%v4 %d:1%v4]
- \dc-[del %d:%v4]
- \to[255]
- \wf[B00]\dlz-[%V4]
- \wf[TOMCAT MENU]G{\pa[5]\ab
- \eb
-
- |logoff
- \wp[]g{atz{~~~~\ab
- \IF+AT MENU "[C D U H G Q [G{\gb[logoff]]
- \if+wish to log off "[Y/n"] [y{\eb]
- \If+onStop:[{\gb[logoff]]
- {\ld-
- \eb