home *** CD-ROM | disk | FTP | other *** search
- proc main
-
- integer nCount = 0
-
- string SendWord1 = "チセキ : X"
- string SendWord5 = "CONNECTED"
- string SendWord2 = "[Y/n]"
- string SendWord3 = "「ム"
- string SendWord4 = "エュキッチヨシシソ"
- string SendWord6 = "ID :"
-
- integer nTime = 30
-
- while nCount < 5 do
- waitfor SendWord1 then DoSin
- until nTime
- transmit "^M"
- nCount = nCount + 1
- endwhile
- goto BailOut
-
- DoSin:
- transmit "1119172209"
- transmit "^M"
-
- waitfor SendWord2 until nTime
- if FALSE == $SUCCESS then
- goto BailOut
- endif
- transmit "^M"
-
- waitfor SendWord6 until nTime
- if FALSE == $SUCCESS then
- goto BailOut
- endif
- transmit "^M"
-
- waitfor SendWord3 until nTime
- if FALSE == $SUCCESS then
- goto BailOut
- endif
- transmit "^M"
-
- waitfor SendWord4 until nTime
- if FALSE == $SUCCESS then
- goto BailOut
- endif
- transmit "^M"
-
- waitfor SendWord3 until nTime
- if FALSE == $SUCCESS then
- goto BailOut
- endif
- transmit "30"
- transmit "^M"
-
- waitfor SendWord3 until nTime
- if FALSE == $SUCCESS then
- goto BailOut
- endif
- transmit "1"
- transmit "^M"
-
- goto Done
-
- BailOut:
- halt
- Done:
-
- endproc