This is something I wrote to rival Jonty Jones' "Auto-Lot" utility. It's yet another of my 10-Liners, and it allows you to select numbers to put on your National Lottery ticket. All you do is enter how many numbers you want to select, from 0-6. If you want the computer to do everything, then enter 0.
You will then see six grey balls on the screen. Enter the numbers that you have chosen yourself, one by one. Once that has been done, the other numbers will be chosen at random by the computer and they will also show up on the screen. Then you just have to use those numbers and hopefully win some money. Good luck!