My question is, what do I add to the While loop below to take the current test from checking if the file has been altered since last user login,
to a condition that will display the file if X days have passed since
user login?
While DosError = 0 Do Begin
If DirTime > UserLastOn Then Begin
DispFile(FN);
Break;
End;
If current date + UserLastOn > xyz days then begin...
I have this MPS code written by g00r00
My question is, what do I add to the While loop below to take the current test from checking if the file has been altered since last user login,
to a condition that will display the file if X days have passed since
user login?
While DosError = 0 Do Begin
If DirTime > UserLastOn Then Begin
DispFile(FN);
If DirTime > UserLastOn Then Begin
DispFile(FN);
If DaysAgo(UserLastOn) > 3 Then
Something like that
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 3 |
Nodes: | 8 (0 / 8) |
Uptime: | 48:22:41 |
Calls: | 2,140 |
Calls today: | 5 |
Files: | 11,149 |
D/L today: |
10 files (9,977K bytes) |
Messages: | 951,160 |