A few questions about the "random html page" code:

Is there a way I can have percentages/odds/chances for each random page to be displayed?

And, once someone is displayed any of these pages, is it possible to block their IP address from viewing that page until 24 hours?

Any help would be very appreciated.