Not so simple as reading HTML folks.
Websockets

The OP has yet to say what dice site it is.
just-dice's sockets are straightforward.
SatoshiDICE doesn't even use sockets
etc
ROFL. I will not compete. If this user thinks he can produce this as a working program on a site unseen system for $100 he is a fool. Take his deal through an escrow agent. And then come to me when he fails miserably. For $100 he can complete it in under 2 hours I'm sure.
ROFL!
You seem to have missed the prior feedback there...
There's also the fact that I've already produced bots for just-dice and SatoshiDICE...