proc main
set txpace 30
transmit "****^M"
waitfor ">"
transmit "john^M"
transmit "****^M"
waitfor ">"
transmit "logi bcsrmac^M"
pause 6
waitfor "PASS "
transmit "xxxx^M"
call myproc
waitfor ">"
endproc
proc myproc
integer iDay, iMonth, iYear, iMin, iHour, iSec
string sSend
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
strfmt sSend "STAD %02d %02d %d %02d %02d %02d" iDay iMonth iYear iHour iMin iSec
set txpace 30
transmit "****^M"
waitfor ">"
transmit "ld 2^M"
waitfor "."
transmit "TTAD^M"
waitfor "."
transmit sSend
transmit "^M"
waitfor "."
pause 2
transmit "TTAD^M"
pause 2
transmit "****^M"
endproc
[/quote]
change the xxxx to your password, leave the ^M in place, that is a carrige return.. this script takes the time from your pc, if ran while your logged in, it logs you out and back in..
john poole
bellsouth business
columbia,sc