Know a Script That Will Do This?

They have: 5,633 posts

Joined: Jan 1970

Anyone know a script that can change the colors of certain numbers appearing in a document that I create? The numbers will not be known from the onset. When they are determined I would want them to appear in, let's say "red" wherever they appear in the document. The numbers will range from 1-51.
This is to run something like a cross between a lottery and a bingo game. Each "player" will pick 6 numbers. (There will be about 100 players.) Their names will be on a list with the numbers they chose.

Twice a week numbers will be drawn. Any of those numbers drawn should appear in red wherever they occur in the list of played numbers. This will continue until all of one player's numbers are "red" (that is, have been drawn.)

Have no idea how to do this. Would appreciate any help. Thanks.

They have: 383 posts

Joined: Sep 2000

Sounds like a script that will require some R&D. Because you need to save each users “number picks” a database would be ideal. The actual color change effect would not be difficult with PHP, ASP, or Perl once you've developed a application to handle the rest of the functions required.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.