6aaae617eb
pop3 is wierd, and doesn't let you poll, so instead we establish a new connection every minuite or so, in order to check for new emails. SOME POP3 SERVERS MAY DELETE YOUR EMAILS. This notification system will print the body of the message, with the header at the bottom (so it appears in the console notification area when playing). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1600 fc73d0e0-1445-4013-8a0c-d673dee63da5
29 lines
No EOL
620 B
Batchfile
29 lines
No EOL
620 B
Batchfile
@echo off
|
|
call ..\paths.bat
|
|
|
|
del vm\*.asm
|
|
rmdir vm
|
|
mkdir vm
|
|
cd vm
|
|
lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../imapnoti.c
|
|
if errorlevel 1 goto error
|
|
lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../md5.c
|
|
if errorlevel 1 goto error
|
|
lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../pop3noti.c
|
|
if errorlevel 1 goto error
|
|
lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../memory.c
|
|
if errorlevel 1 goto error
|
|
lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../plugin.c
|
|
if errorlevel 1 goto error
|
|
lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../qvm_api.c
|
|
if errorlevel 1 goto error
|
|
q3asm -f ../emailnot
|
|
|
|
:error
|
|
cd ..
|
|
|
|
pause
|
|
goto endbat
|
|
|
|
|
|
:endbat |