First off, you will probably never win the lottery. The changes are one in many millions and in practice, you'd play every week for anything from tomorrow to a million years - not really a wealth-generating strategy...
This program is for the XP, but will, of course, run on an LZ - consider using my ADSS suite to modify it to run on both 2 & 4-line types of machine.
It also includes a 'Lottery System' which might be fun. No guarantees of anything whatsoever - have fun!