if ($ir['tickets']<1)
die ("you are out of tickets.
[url='casino.php']<font color=red>Click here to buy more</font>[/url]");
the use of { and } is normally a good idea
if ($_GET ['action'] == luckyroller)
{
}
This is confusing what was your intention?
$roll = rand(1,6);
$rol = rand (1,6);
$rol3 = rand (1,6);
$r1 = $roll;
$r2 = $rol;
$r3 = $rol3;
$sum =$r1 + $r2 +$r3;
you could do something like
$r1 = rand(1,6);
$r2 = rand (1,6);
$r3 = rand (1,6);
$sum =$r1 + $r2 +$r3;
this was just a quick look though